General discussion

Locked

command

By rgooding ·
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.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums