Simple Filename Parsing Question
March 9, 2008 7:33 AM Subscribe
Should-be-simple Linux timestamped file parsing question.
posted by yellowbkpk to computers & internet (7 answers total) 3 users marked this as a favorite
I have a directory with what is now 10k jpeg files in this format (number of seconds since 1970):
I'd like to use a script of some sort to shuffle these images into directories based on month, then day. Note that the "last modified" times on the file system are not necessarily the same as the timestamp in the file name, and I'd like to collate the files with the file name timestamp, not the filesystem timestamp.
Can anyone suggest a way to do this?