![](https://seccdn.libravatar.org/avatar/41ed85ec60b719fa1654d12375dd9bd6.jpg?s=120&d=mm&r=g)
4 Dec
2005
4 Dec
'05
11:50
On Sun, 2005-12-04 at 09:28 +0800, John Summerfield wrote:
Jim Cunning wrote:
On Sat, 2005-12-03 at 10:10, Lawrence Bowie wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
for i in `ls -1 *.rar`; do unrar x $i; done (assumes BASH)
or
ls -1 *.rar | xargs -i unrar x {}
Two things: 1. Your example won't work using "ls -l" -- you only want the filenames.
2. Please don't top-post.
Two things 1. Get new specs 2. Check your facts:-)
If you would have looked closer Lawrence you would have noticed that it was not ls -l (ell) that was used it was ls -1 (one) that was. Big difference. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998