
December 28th, 2004, 10:08 PM
|
|
Contributing User
|
|
Join Date: Dec 2004
Posts: 49
Time spent in forums: 8 h 33 m 57 sec
Reputation Power: 4
|
|
|
loop shell (please!!!)
i'm new in UNIX shell programming.my assignment is move some files in a directory to another directory based on time given.i'm very blur bout this.
ok let say the file name is
atk_wip_20040813ok.txt
atk_wip_200410913ok.txt
atk_wip_20041213ok.txt
the condition is move files that is 3 month before today's date.(file1 and file2 only-ex)
i have to split the filename to compare date rite?
this files will be move to another directory.
please help me!!!
how bout the loop?
please...
|