[ale] THANKS to all who replied to "ls -rt | rm -i" problem, BUT...
Joe Knapka
jknapka at kneuro.net
Fri Mar 17 01:14:45 EST 2006
Hi Courtney,
This worked for me just now, to interactively
remove files modified on March 15:
rm -i $(ls -l | grep 'Mar 15' | cut -d ' ' -f 9)
Per another comment, there doesn't seem to be
a standard way to find out a file's creation date.
Cheers,
-- JK
Courtney Thomas wrote:
> From a shell prompt, I can now sort a directory and then interactively
> remove it's files. Thank you.
>
> I remain unable to filter the sorted list by date, the "sort +5" field
> specifically, before selecting those to rm.
>
> Goal: show me the files of xx/yy/zz and let me choose whether to rm each
>
> Thanks once more,
>
> Courtney
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
>
More information about the Ale
mailing list