Hi,
I like to accomplish the following sets of commands using the script -
cd /archive/users/
rm *090305*
rm *090405*
rm *090505*
....
....
rm *100205*
Basically, I like to remove all files that exists in /archive/users/.
I like to use a date range and delete all files from that date range.
I am new to scripting, please let me know exact steps to define parameter (date range) and how to use them in script.
Thanks much,
Nick
I like to accomplish the following sets of commands using the script -
cd /archive/users/
rm *090305*
rm *090405*
rm *090505*
....
....
rm *100205*
Basically, I like to remove all files that exists in /archive/users/.
I like to use a date range and delete all files from that date range.
I am new to scripting, please let me know exact steps to define parameter (date range) and how to use them in script.
Thanks much,
Nick