[wplug] find + operation

Zach netrek at gmail.com
Fri Mar 2 11:46:59 EST 2007


Afternoon,

I would like to be able to do standard file operations like cp, rm and
mv on the output of: find . -name *.xls -print

Or more generally something like:

'fcp . $arg1 $arg2'
this would find all files in CWD and down and then copy:
where $arg1 is the thing we're looking for and $arg2 is the directory
where it will be copied

'frm / $arg1'
this would remove all files from top of filesystem down

'fmv . $arg1 $arg2'
etc....

Perhaps another utility exists to do this or there is  a cool BASH way to do it?

Zach


More information about the wplug mailing list