The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
script to rename files with current date and copy it.
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
script to rename files with current date and copy it.
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
04-30-2007
Birasing
Registered User
Join Date: Apr 2007
Posts: 1
question
dt=$( date +%Y%M%d )
while read file
do
cp ${file} "${file}_${dt}"
: > ${file} --I did not undestsand this line, what does this line
done < /tmp/logs
Can u explain, what does that line.
Birasing
View Public Profile
Find all posts by Birasing
Find Birasing's past nominations received
Find Birasing's present nominations given