Search Results

Search: Posts Made By: sujit das
1,946
Posted By sujit das
Thanks a lot for your reply. no spaces aren't...
Thanks a lot for your reply. no spaces aren't used.:):):b:
1,946
Posted By sujit das
did you mean something like this ...
did you mean something like this

DATVAR=$(FTPYMNTE_|date "+%Y%m%d%H%M%S|`'tr '[a-z]' '[A-Z]'`"|.TXT)

mv AP_FLEXCUBE_INTERFACE10.txt $DATVAR

please correct if any syntax error and the back...
1,946
Posted By sujit das
thanks Rudic for the quick reply. its a...
thanks Rudic for the quick reply.
its a existing code in production so i think i cannot remove tr command now, even though i am sure that removal of that won't create any issue.

but can we...
1,946
Posted By sujit das
Passing a file name to a variable
Below is the command
mv AP_FLEXCUBE_INTERFACE10.txt FTPYMNTE_`date "+%Y%m%d%H%M%S" | tr '[a-z]' '[A-Z]'`.TXT

it is changing the file name to a different name according to time stamp dynamically....
Showing results 1 to 4 of 4

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