Re: FIND command ouput
- From: pgodfrin <pgodfrin@xxxxxxxxx>
- Date: Tue, 18 Mar 2008 10:42:58 -0700 (PDT)
On Mar 17, 11:14 pm, noi ance <n...@xxxxxxxx> wrote:
On Mon, 17 Mar 2008 07:25:52 -0700, pgodfrin typed this message:
Greetings,
I'm looking for a way to use the find command to print out the full file
names (with directories), text based permissions and the date- time
information.
Using 'find `pwd` -ls' gives me:
4472722 0 srwxr-xr-x 1 root root 0 Mar 3 16:11 /
tmp/mapping-root
for example, which is OK - except I want the date in a different format
- for instance like the ls command produces:
srwxr-xr-x 1 root root 0 2008-03-03 16:11 /tmp/mapping-root
I'm thinking there's some sort of environment variable that would help
me - I don't want to mess with the 'find -printf' formatting if I don't
have to... Of course if there's a way to make the ls command printout
the full path name (for each file) then that would be even easier...
thanks,
pg
Dude !!??
Man ls
man find
-exec 'ls --Format' {} \;
hmm - didn't see --format in my man (Fedora 8), but this is what I
used:
find -printf '%M %16u %16g %12s %TY-%Tm-%Td %TT %p\n'
.
- Follow-Ups:
- Re: FIND command ouput
- From: noi ance
- Re: FIND command ouput
- References:
- FIND command ouput
- From: pgodfrin
- Re: FIND command ouput
- From: noi ance
- FIND command ouput
- Prev by Date: Wireless problem: Fedora 8 not seeing wlan0 using ndiswrapper
- Next by Date: Re: FIND command ouput
- Previous by thread: Re: FIND command ouput
- Next by thread: Re: FIND command ouput
- Index(es):
Relevant Pages
|
|