I'm trying to arrange the files in a directory to have modification dates 
according to alphabetical sort order. (Sounds weird, but Alpine car units use 
modification date as the ordering of music tracks on a USB stick.)

In bash I'm using:

ls -1 | sort | touch *

...but it doesn't work, there is no change in the modification date of the 
files. I'm guessing the problem is that the filenames have spaces, so the 
'touch *' is only touching the first word of the filename.

Is there a way to do this?

-Carl

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to