[thelist] Help please from a Shell Scripter

Aaron Johnson ajlist at mindseye.com
Mon Aug 26 13:10:06 CDT 2002


Doing a man on rename shows that rename takes 3 arguments... kinda looks
like your call to rename only has 2 arguments...


> find /home/virtual/*.*/var/log/httpd/old_logs -name access_log.1 -print |
> rename 's/\.1/\.`date '+%Y-%m-%d'`'

AJ




More information about the thelist mailing list