Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Rename files older than 2 days
Name: Srinivas Date: November 10, 2002 at 12:33:32 Pacific OS: UNIX CPU/Ram: SUN Solaris
Comment:
I am new to shell scripting. The requirement is as follows:
At the beginning of the script, check file creation date. If it's more than 2 days old, rename the file with prefix "backlog".
Summary: Hi, I want to delete files which had been created 2 days ago having names like: er_n5412_output_yyyymmdd.csv.processd from the directory /opt/apps/ccba/dev/callftp/cps_adhoc. There will be several ot...
Summary: Hi, I am trying to delete log files older than a certain date using a Korn shell script. The best suggestion I've found (on this board) is to calculate the date of two weeks ago (very difficult) and t...
Summary: @echo off ------------------------- :: Description: Deletes files older than a specified number of days :: ++ attributes not set :: :: Author: Barry.Lawrence@btinternet.com :: Date: 01/03/...