Search Results

Search: Posts Made By: kris.adrianto
13,209
Posted By pamu
month=`date +%m` year=`date +%Y` lmonth=`expr...
month=`date +%m`
year=`date +%Y`
lmonth=`expr $month - 1`
if test "$lmonth" = "0"
then
lmonth=12
year=`expr $year - 1`
fi

L_date=$lmonth"_"$year

mv Amount.zip Amount_$L_Date.zip


...
93,835
Posted By ambarginni
I Believe you can do this by touch command ...
I Believe you can do this by touch command

touch newfile #will change modification time to current date and time
touch -t 8001031305 oldfile #sets the modification time of oldfile...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy