Help with copy files from multiple directories one inside other of the same type to one directory

Dave Carrigan dave at rudedog.org
Mon Jul 31 15:57:13 UTC 2006


On Saturday 29 July 2006 04:07, José Paulo Matafome Oleiro wrote:
> Hello I've need help because I can't copy all the *.deb files that I
> have in one directory for example like this structure of files:
> main

find /the/top -name '*.deb' -print0 | xargs -0 -IX cp X /the/destination/directory/

-- 
Dave Carrigan
Seattle, WA, USA
dave at rudedog.org | http://www.rudedog.org/
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL-Postfix
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060731/f3b05c51/attachment.sig>


More information about the ubuntu-users mailing list