Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Apr 2009 13:47:58 +0200
From:      Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= <patfbsd@davenulle.org>
To:        User Questions <freebsd-questions@freebsd.org>
Cc:        Zbigniew Szalbot <z.szalbot@lcwords.com>
Subject:   Re: how to copy files without directories
Message-ID:  <20090420134758.065018ea@baby-jane.lamaiziere.net>
In-Reply-To: <op.usonbgwz89vefu@toshizbyszek.lists.lc-words.com>
References:  <op.usomrdzw89vefu@toshizbyszek.lists.lc-words.com> <1bd550a00904200422od3776c8ge59127854e10fac4@mail.gmail.com> <op.usonbgwz89vefu@toshizbyszek.lists.lc-words.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Mon, 20 Apr 2009 13:24:42 +0200,
"Zbigniew Szalbot" <z.szalbot@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 
 
will copy path1 under path2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090420134758.065018ea>