10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need all file names in a folder which has date >= 10th of last month,
Example
: files in folder
AUTO_F1_20140610.TXT
BUTO_F1_20140616.TXT
CUTO_F1_20140603.TXT
FA_AUTO_06012014.TXT
LA_AUTO_06112014.TXT
MA_AUTO_06212014.TXT
ZA_AUTO_06232014.TXT
Output:
AUTO_F1_20140610.TXT... (9 Replies)
Discussion started by: nani1984
9 Replies
2. Shell Programming and Scripting
Hi All,
lets say there are following files in directory
-rwxr-xr-x 1 user userg 1596 Mar 19 2012 a.txt
-rwxr-xr-x 1 user userg 1596 Mar 19 2012 b.txt
-rwxr-xr-x 1 user userg 1596 Mar 22 2012 c.txt
-rwxr-xr-x 1 user userg 1596 Mar 24 2012 d.txt... (16 Replies)
Discussion started by: Makarand Dodmis
16 Replies
3. Shell Programming and Scripting
how to find all files other than first two dates & last date per month and year
Hi All,
lets say there are following files in directory
-rwxr-xr-x 1 user userg 1596 Mar 19 2012 a.txt
-rwxr-xr-x 1 user userg 1596 Mar 19 2012 b.txt
-rwxr-xr-x 1 user userg ... (6 Replies)
Discussion started by: Makarand Dodmis
6 Replies
4. Shell Programming and Scripting
Hi All,
I find all files for same month and year
lets say there are following files in directory
-rwxr-xr-x 1 user userg 1596 Mar 19 2012 c.txt
-rwxr-xr-x 1 user userg 1596 Mar 21 2012 d.txt
-rwxr-xr-x 1 user userg 1596 Mar 22 2012 f.txt
-rwxr-xr-x 1... (8 Replies)
Discussion started by: Makarand Dodmis
8 Replies
5. UNIX for Advanced & Expert Users
Hi All,
I need to find all files other than first two files dates & last file date for month and month/year wise list.
lets say there are following files in directory
Mar 19 2012 c.txt
Mar 19 2012 cc.txt
Mar 21 2012 d.txt
Mar 22 2012 f.txt
Mar 24 2012 h.txt
Mar 25 2012 w.txt
Feb 12... (16 Replies)
Discussion started by: Makarand Dodmis
16 Replies
6. Shell Programming and Scripting
Help please! I need to read the calendar and put the date of the third Friday of each month into a variable for comparison in an "if" statement. How would I do this?
Thnx,
leslie02 (10 Replies)
Discussion started by: leslie02
10 Replies
7. UNIX for Advanced & Expert Users
hello
i need a way to list files modified in a specific month and move them to a specific directry , i mean somthing like :
find . -modifiedtime "May" -print -exec /usr/bin/mv newdirectory
thank u (1 Reply)
Discussion started by: omer_ome
1 Replies
8. Solaris
hello
i need a way to list files modified in a specific month and move them to a specific directry , i mean somthing like :
find . -modifiedtime "May" -print -exec /usr/bin/mv newdirectory
thank u (1 Reply)
Discussion started by: omer_ome
1 Replies
9. HP-UX
hello
i need a way to list files modified in a specific month and move them to a specific directry , i mean somthing like :
find . -modifiedtime "May" -print -exec /usr/bin/mv newdirectory
thank u (1 Reply)
Discussion started by: omer_ome
1 Replies
10. Shell Programming and Scripting
Hi,
I am trying to do achieving of files by months.
find /test -name \*.* -mtime +30
will give me the result of all modified files after 30 days.
But lets say i want to list all files that is modified in last months... what is the command to do it?
Thanks! (13 Replies)
Discussion started by: maldini
13 Replies