> I practically wrote a bash script to do this but then ran into problems > with characters such as '* etc in the filenames - I couldn't work out > how to escape them safely.
OT and FYI, you were probably looking for "set -f", which will stop filename generation due to wildcard constructions *, ? and [. Just add "set -f" in your script before dealing with the filenames (or start the script with something like "#!/bin/bash -f" if your *nix supports hashpling). Niek. _______________________________________________ Discuss mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/discuss
