bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: filutils 4.1


From: goesh
Subject: Re: filutils 4.1
Date: Thu, 15 Jun 2006 13:22:32 -0600 (MDT)
User-agent: SquirrelMail/1.4.5


Yes, as i wrote to Eric...

Further, i have used find . -print
to do the same thing, however, i really like having the absoulte path in
outputs such as ls -ltr, and i could not see a way to get find to do
this.  

-----
address@hidden:/export/home/jackyl
$ ls -ltrZ
total 7882
-rw-r--r--    1
jackyl   spuser       1181 May 31
19:13 /export/home/jackyl/pulprof
-rw-r--r--    1
jackyl   spuser        136
May 31 19:13 /export/home/jackyl/local.cshrc
-rw-r--r--    1 jackyl  
spuser        157 May 31 19:13
/export/home/jackyl/local.login
-rw-r--r--    1
jackyl   spuser        174
May 31 19:13 /export/home/jackyl/local.profile
-rw-r--r--    1 jackyl  
spuser        871 May 31 19:13
/export/home/jackyl/test.pl
-rw-------    1
root    
root           36
Jun  4 14:04 /export/home/jackyl/dead.letter
drwx------    2 jackyl  
spuser        512 Jun  5 08:57
/export/home/jackyl/Mail
drwxr-xr-x    2
jackyl   spuser        512
Jun 11 11:09 /export/home/jackyl/Documents
drwxr-xr-x    2 jackyl  
spuser        512 Jun 11 11:09
/export/home/jackyl/Desktop
-rw-------    1
jackyl   spuser    8048830 Jun 14 20:40
/export/home/jackyl/core


-- 
goesh 




On Thu, June 15, 2006 10:37, Bob Proulx wrote: 
>
Eric Blake wrote: 
>> goesh wrote: 
>> > I
modified the source code for ls.c to add a new switch [-Z], which 
>> shows 
>> > the abosulte full path with each item
printed. This has been very 
>> > useful for me, especially
when combined with -1R. Just wondering if 
>> > you would
like my source updates to ls.c. 
>> ... 
>> Also,
have you looked into the find utility, part of the findutils 
>> package? It can already do what you are looking for, which is

>> recursively printing filenames with absolute paths. 
> 
> In particular since you say 'ls -Z -1R' I think that
would be the same 
> as 'find $PWD'. Could you try that and see if
it already meets your 
> needs? 
> 
> find $PWD

> 
> But I have to note that to be strictly posix
portable I think that 
> really should be: 
> 
>
find $(pwd) 
> 
> Bob 
> 



This email was sent from goesh.us.
goesh.us


reply via email to

[Prev in Thread] Current Thread [Next in Thread]