[ILUG] Piping to mv

Stephen_Reilly at dell.com Stephen_Reilly at dell.com
Wed Jun 19 10:20:44 IST 2002


mv foobar* /destfolder

steve

-----Original Message-----
From: Justin MacCarthy [mailto:macarthy at iol.ie]
Sent: 19 June 2002 10:11
To: Ilug at Linux.Ie
Subject: [ILUG] Piping to mv


Is it possible to pipe into mv ??

I want to do something like 

find / 'foobar*' | mv   /destfolder

i.e. move all files called foobar* into destfolder 

I know find has an -exec flag but I was just wondering ...



Cheers 
Justin

-- 
Irish Linux Users' Group: ilug at linux.ie
http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
List maintainer: listmaster at linux.ie





More information about the ILUG mailing list