Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Illegal characters in windows filenames?

by HamNRye (Monk)
on Feb 10, 2004 at 22:05 UTC ( [id://328055]=note: print w/replies, xml ) Need Help??


in reply to Re: Illegal characters in windows filenames?
in thread Illegal characters in windows filenames?

Not possible.... Well, possibleish, we are already having our designers fgixing them manually....

Quick explanation, I work for a newspaper. As ads and artwork are sent to us for publication, we get alot on CD or ZIP. Well, a years worth of CD's with 4 MB each on them for 2-300 ads a week, is alot of physical storage room, and makes things hard to find.

Our designers are supposed to drop the files they need on this Icon, which makes copies out to our Linux NAS server, which arranges them into volumes for burning. The designers are not supposed to have to "think" about the process.... The script can tell a .qxd from a .indd, etc... And of course, we can't just go tell our clients to fix their CD's or we won't run their ads.

Right now, the script is popping up a TK alert and telling the designers to go fix it manually, but we crave elegance. I guess you could say the designers are the violent psychopaths that know where I live.

On a completely unrelated note.... Thanks for the module repository, and other website goodies of yours I have made use of.

  • Comment on Re: Re: Illegal characters in windows filenames?

Replies are listed 'Best First'.
Re: Re: Re: Illegal characters in windows filenames?
by Jenda (Abbot) on Feb 11, 2004 at 22:27 UTC

    What do you mean by "this Icon"? The designers use macs, right? So they drop the files on the icon of some program/script that then runs on their Mac and copies the file somewhere, right? Or is this Icon just a networked disk/share and it's the MacOS that copies the files to somewhere where they are found and processed by some background process running on the Linux?

    On the completely unrelated note ... thanks :-)

    Jenda
    Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
       -- Rick Osborne

    Edit by castaway: Closed small tag in signature

      Sorry, I should have explained this better... The program gets compiled with perl2exe, and lives on the designer's Windows2000 desktop.

      The basic workflow is that they get a CD full of Art and other files, and before uploading to our production server. (Solaris based, tracks ads and their associated art by run date and allows archiving to MO.) Unfortunately, not all of our customers send their art in with things like proper color balance, high enough resolution, correct filenames, etc... So , before they start working on the ad, they take the root folder on the CD, and drop it onto the program Icon. My program cleans them up, flags bad resolutions, converts JPEG, GIF, etc... into a format usable for presswork, and uploads the files to the production server. (The script is designed to take one arg, a folder name, from the drag-and-drop.)

      The outside clients who send us stuff often use Macs, which is why we get CD's full of wierd Maccy garbage. Also, since Macs don't use the three letter extension to tell you if it's a quark doc, an InDesign doc, a Page Maker doc, etc... So we look at the Magic Numbers and add the proper extension. (We have also been sent jars of spaghetti sauce so we can "scan the label", pizza box tops because they have the company logo on them, Word Documents that have MS clip art in them (what do you mean clip art isn't camera ready??), and one time, a picture of a car lot... So we could get pictures of the cars out of it.) So, something as simple as a bad file name, that's pretty good. However, it is also time consuming for our designers to have to go through all the files when they recieve them to do all of these checks.

      Customers: Windows and Mac, occasionally crayon.
      Designers: Windows2000
      Production Geek: Solaris

      And on that final thing, I cannot tell you how many times you have saved my butt when I needed a module. I rarely appreciate you until I go to install on a machine other than my own. Then, that Module that ppm found no problem on my box, doesn't exist on Active State. So, I add your ppd repository, and say... "ActiveState sucks, thank you Jenda." WTF is up with them not even having the basic Tk modules available?? If you ever need bandwidth, web storage space, or just somewhere to launch a DDOS attack, use the contact page at nothing4sale.org. I'm the webmaster. If your stateside, we can even talk meatspace needs.... Again, Danke.

      Anyway, using the system globbing has provided the workaround, so lets hope that by Windows 2003 M$ hasn't renamed the command to "xmove32".

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://328055]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found