tocleora
March 24th, 2007, 04:21 PM
I have a script that moves files to a backup drive every night. If it doesn't run however, I want to run it manually, however during the day there are new files I don't want moved, so I thought I could just build in to the script to only mv files that aren't for today. I could either do it mv ones that the file creation date isn't today, or the file names are like pl-YYYYMM so if there's anyway I could mv based on that... Any help would be appreciated!