i'm beginner in UNIX commands, need some help on this simple question:
I need to make a shell script to move files to another directory,
the criterias are :
the range of 4 last digit of the file name is 0100-0199
move all files that processed daily (let's say today is 22Dec'08)
so if i have these processed files in my folder, those 3 files(BOLD) should be moved :
I put my example to a file, and then used cat to show the output. The cat command is not really needed, you could pipe your ls output directly to the grep part of my example.