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

Todd Slater dontodd at gmail.com
Sat Jul 29 17:45:11 UTC 2006


On 7/29/06, Alexander Skwar <listen at alexander.skwar.name> wrote:
> ยท Todd Slater <dontodd at gmail.com>:
>
> > for deb in `find /top/level/directory -type f -iname '*.deb'`
>
> *EXTREMELY* bad. What do you do, when there are file- and/or directory
> names with spaces?

I understand that, but I've never met a .deb with a space in the name,
which is why I gave this example. I figured it might be easier for
somebody obviously new to CLI. And then they get to ask the question
later...




More information about the ubuntu-users mailing list