Search Results

Search: Posts Made By: mmm951
3,105
Posted By mmm951
I write script do this job. any one has better...
I write script do this job.
any one has better advise!?


#!/bin/ksh
sdir=/tmp/mars
sedarg=s/[0-9][0-9]:[0-9][0-9]/`date +%Y`/g
mouth=0
while [ $mouth -le 11 ]
do
mouth=`expr $mouth + 1`
...
3,105
Posted By mmm951
thanks but I use AIX cannt use stat...
thanks

but I use AIX
cannt use stat command:(
3,105
Posted By mmm951
move file by year/mouth
Hello experts,

I have a directory which the files inside have different date.
Now I'd like to move them to folder year/mouth (2007/01 , 2007/02)

Have any suggestion?

thanks in advance for...
Showing results 1 to 3 of 3

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