Help with copy files from multiple directories one inside other of the same type to one directory (Done Thanks for your help)

José Paulo Matafome Oleiro matafomeoleiro at gmail.com
Sun Jul 30 06:38:13 UTC 2006


It's working I've just said yesterday
Ony this and job done
$ find . -type f -name \*.deb -print -exec mv {} /path/to/new/location
\;
Thank for you time

Dom, 2006-07-30 às 07:53 +0200, Alexander Skwar escreveu:

> · José Paulo Matafome Oleiro <matafomeoleiro at gmail.com>:
> 
> > This command ---> find /top/level/directory -type f -iname '*.deb'
> > (showed all the files that exists in the directory's)
> > but when I execute the command   cp "$deb" /home/user/destination
> > directory    (it shows cp: can execute stat '$deb': No such file or
> > directory
> > 
> > It's all that I know that happens
> 
> That's not what you should've done.  Why didn't you enter the command
> that Todd had shown?
> 
> Alexander Skwar
> -- 
> Der echte Schüler lernt aus dem Bekannten. Das Unbekannte entwickeln
> und nähert sich dem Meister. 
>                 -- Johann Wolfgang von Goethe
> 
> 
> 

Sincerely
José Oleiro aka Matafome (#computers at irc.ptnet.org)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060730/4f4b93ca/attachment.html>


More information about the ubuntu-users mailing list