![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can i copy files by date last modifed range? | geauxsaints | UNIX for Advanced & Expert Users | 4 | 05-25-2008 12:06 PM |
| To copy the files newer than specific date | RAJESHKANNA | SUN Solaris | 3 | 08-07-2007 04:44 AM |
| How to copy a file according to the date | Nayanajith | Shell Programming and Scripting | 1 | 06-21-2006 04:46 AM |
| copy files with date | isingh786 | HP-UX | 1 | 03-10-2006 05:04 PM |
| ftp copy: preserve source file date stamp | cassj | UNIX for Dummies Questions & Answers | 5 | 02-16-2005 06:38 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Copy a file with name as date??
Hi I want to copy a file but append the date and time....how?
So copying the file file1.txt will have file1_20061009_0950.txt I know the command : date +"%Y%m%d_%H%M" but how do i get this in the file name ? cp file1.txt newDirectory/file1_?????????.txt Thanx |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|