Re: OT: Need help from bash experts... humm
On Tue, 12 Feb 2002, Greg Murphy wrote:
> The following should work:
> sourcedir="/mount/windows/spaced name"
> cp "$sourcedir"/* $target
i say that the above will barf on windows filenames like
"tom's proposal.doc" and "2002 Budget: 1st quarter"
few other whacky names ( wierd characters ) are allowed too...
remember...they can create file and directory names that
is NOT allowed on *nix
and depending in which combo and version of apps...
you will get varying degree of success or failures
find /mnt/windows -mtime -7 -print | tar cvf /mnt/backups.tgz -T -
-- vs --
tar cvf /mnt/backups.tgz ` find /mnt/windows -mtime -7 -print`
just my prior heaadaches when dealing with backing up windoze boxes