![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Moving all user files to another/new directory | gav_dhiman | UNIX for Dummies Questions & Answers | 11 | 08-27-2008 07:35 AM |
| Moving files not directory. | senthil_is | Shell Programming and Scripting | 1 | 05-09-2008 02:21 AM |
| Shell script for Creating Directory with name as system date | aarora_98 | Shell Programming and Scripting | 7 | 12-07-2005 08:14 AM |
| How to Compress files before moving them in a directory | godalle | Shell Programming and Scripting | 3 | 11-10-2005 11:59 AM |
| moving files from a unix directory to a windows directory | gleads | UNIX for Dummies Questions & Answers | 2 | 08-29-2002 09:42 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Creating date directory and moving files into that directory
I have list of files named file_username_051208_025233.log. Here 051208 is the date and 025233 is the time.I have to run thousands of files daily.I want to put all the files depending on the date of running into a date directory.Suppose if we run files today they should put into 05 ec:08 directory. I would be verythankful if anybody suggest me the way to do it.I did try for sometime,but not worked out for me date_dir = `date +%d:%b:%y` mkdir "${date_dir}" In the starting of itself it scolding me like date_dir command not found |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|