I want to copy a file from the unix command line to a new name that has the date (and possibly time) as part of the name. For example: cp abc.txt abc20030108.txt.
Could someone please tell me how to get the current date/time concatenated to the name of the file?
Thanks
This conversation is currently closed to new comments.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
command
cp abc.txt abc20030108.txt.
Could someone please tell me how to get the current date/time concatenated to the name of the file?
Thanks