Search Results

Search: Posts Made By: mahesh shinde
1,633
Posted By mahesh shinde
Hi, Now it is working fine. i use ...
Hi,
Now it is working fine.

i use

mv $file $(echo $file | sed 's/01\([01][1-9]\)/_\1/') instead of
mv $file $(echo $file | sed 's/01\([0-9][0-9]\)/_\1/')

Thanks.
1,633
Posted By mahesh shinde
Thanks for the help. But it is working good for...
Thanks for the help.
But it is working good for first 1 to 9 files. Files from 10 onwards are not renamed.
I am getting the following messages.
mv: `dt_ref_med_merged_madt_h_19980110.nc' and...
1,633
Posted By mahesh shinde
Help with renaming the files.
Hi,

I have 31 file as below.... dt_ref_med_merged_madt_h_19980101.nc
..
..
dt_ref_med_merged_madt_h_19980131.nc

I want to rename it like...
dt_ref_med_merged_madt_h_1998_1.nc
..
.....
1,652
Posted By mahesh shinde
Hi, For example, I have 24 files...
Hi,

For example, I have 24 files corresponding to JAN to DEC 2001 and JAN to DEC 2002.

the files are avg_1.nc avg_2, ....... avg_24.nc.

I want to rename it as

avg_jan_2001,...
1,652
Posted By mahesh shinde
Naming number to months
Hi,

I have many files of monthly means from model simulation such as 1,2,3,4.....12, corresponding to jan, feb, mar,....., dec.
e.g. avg_1.nc, avg_2.nc, ............., avg_12.nc.
i want to write...
Showing results 1 to 5 of 5

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