![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find and store files based on FileName and Modified Time | edisonantus | UNIX for Advanced & Expert Users | 2 | 02-19-2008 10:25 AM |
| viewing/information of binary files | ocelot | UNIX for Dummies Questions & Answers | 2 | 10-03-2006 08:46 AM |
| grep and store | arunkumar_mca | Shell Programming and Scripting | 6 | 01-27-2006 06:31 AM |
| how can i store it ? | shamal | High Level Programming | 2 | 12-08-2001 01:19 AM |
| How to store username | dinplant | Shell Programming and Scripting | 3 | 11-13-2001 05:34 PM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Need to store information relating to certain files
I need to save information relating to certain files that are projected to deleted.
I am using Code:
find $defPath/archive/sub/subchild -type f -mtime +365 > LOGFILE cat LOGFILE| while read line do ls -l $line | cut -d" " -f 10-15 done I want to retrieve information of a file like,
Is there any way that I can get these vital details other than using cut command? Please suggest. R. |
| Forum Sponsor | ||
|
|
|
||||
|
Oh, well, ignore that
![]() Depending on the LANG variable, the output may vary but it doesn't change the behaviour of the script (also if the date format eventually comprises more than three fields) because it prints all the fields, starting from 5th. |
||||
| Google UNIX.COM |