Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

awk and rename ?

$
0
0
I have a log file from /m/n/o/A.log with 1 line
current content: 19518634,SW,windows_x86_64
and an folder from /x/y/z/testit_folder
How do you write a shell script to rename test_folder to changed_monthdate_19518634

If today is 04/23 the name should be changed_0423_19518634
Thanks for your help.

Viewing all articles
Browse latest Browse all 16232

Latest Images

Trending Articles



Latest Images