[ale] stupid windows directory names with spaces in them...

Geoffrey esoteric at 3times25.net
Tue Aug 13 20:51:16 EDT 2002


Can anyone suggest a way I can create a tar file of a set of files that 
meet the above subjects criteria?

I've tried escaping the bloody things, and tar still craps out.  I've 
tried wrapping the fully qualified filename in quotes, still no go.

I've tried the following from the top of the mounted directory:

tar -cvzf /tmp/data.tgz $(find . -name '*.dat' -print)
tar -cvzf /tmp/data.tgz $(find . -name '*.dat' -printf "\"%p\"\n")

Sent the list of files to a file (/tmp/filelist) and escaped the spaces
(as in Program\ Files)

tar -cvzf /tmp/date.tgz $(</tmp/filelist)

What does it take other then fdisk to get over this headache???

-- 
Until later: Geoffrey		esoteric at 3times25.net

I didn't have to buy my radio from a specific company to listen
to FM, why doesn't that apply to the Internet (anymore...)?


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list