Re: [users] delete n files in a directory
also sprach Mário Henrique Cruz Tôrres (on Sat, 16 Jun 2001 10:08:14AM +0000):
> Good morning everyone. I wan't know if can I delete the first 200
> files ( in alphabetical order ) in a directory wich have
> 300 files ?
ls -1 | head -200 | xargs echo rm
when you made sure that the command line printed is right, remove the
word 'echo'
martin; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
--
al telefono: "pronto? cantina sociale?". "hic!".
Reply to: