[ale] THANKS to all who replied to "ls -rt | rm -i" problem, BUT...ATTN:JoeKnapka

Paul Cartwright paul_tbot at pcartwright.com
Sat Mar 18 15:18:35 EST 2006


On Sat March 18 2006 3:08 pm, Joe Knapka wrote:
> Experimentation. I tried -f 8 first (counting the
> fields left-to-right in the 'ls -l' output), but
> found that it gave me the previous field. So I
> tried -f 9, which worked.
>
> Note Geoffrey's comment that my command won't work
> if there are file names containing spaces.

duly noted:)
I tried it on a folder of mine that had text files, with spaces in the 
names... ugly output!!!
I used to use that command alot to look for processes to kill, and 
users to log off...when they ,uh, were IDLE too long:) yeah, that's 
it!

-- 
Paul Cartwright
Registered Linux user # 367800 



More information about the Ale mailing list