aadil7
October 6th, 2013, 12:31 AM
hi everyone
I want to manipulate a file (copy it to another location) and change the name to have the month created on the end.
the month can be seen from ls -l and i want the file to be like:
file
copy and change name to
file_oct
is this a possibility?
I tried scouring the net for a good hour with no luck of any command which will allow me to seperate and select the month save it as a variable and then attach it to the end of the filename.
all help is highly appreciated
thank you
I want to manipulate a file (copy it to another location) and change the name to have the month created on the end.
the month can be seen from ls -l and i want the file to be like:
file
copy and change name to
file_oct
is this a possibility?
I tried scouring the net for a good hour with no luck of any command which will allow me to seperate and select the month save it as a variable and then attach it to the end of the filename.
all help is highly appreciated
thank you