how to copy files without directories

Odhiambo ワシントン州 odhiambo at gmail.com
Mon Apr 20 11:57:41 UTC 2009


2009/4/20 Patrick Lamaizière <patfbsd at davenulle.org>

> Le Mon, 20 Apr 2009 13:24:42 +0200,
> "Zbigniew Szalbot" <z.szalbot at lcwords.com>:
>
> > Ahh... I am sorry. Wrong subject. I want to copy directories without
> > files they contain.
>
> see mtree(8)
> Something like
> $ mtree -dc -p path1 | mtree -U -p path2


Wow!! Looks brilliant. Several hidden swissknifes (yea, not knives)!

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"Clothes make the man.  Naked people have little or no influence on
society."
              -- Mark Twain


More information about the freebsd-questions mailing list