Re: basic command pipe question

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

 



On Sun, 2006-18-06 at 14:14 -0700, Don Russell wrote:
> So far, I have
>     ls | grep -iE \\.zip$

You can pipe that to xargs:

ls | grep -iE \\.zip$

Or, you could use find, and then use the -exec option to rm the files.
You can also use find, and pipe the results to xargs, just like above.

HTH,

Ranbir

-- 
Kanwar Ranbir Sandhu
Linux 2.6.16-1.2111_FC4 i686 GNU/Linux 
18:03:59 up 11:33, 3 users, load average: 0.08, 0.25, 0.25 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux