Dateien beim kopieren aussschließen
Florian Lohoff
flo at rfc822.org
Wed Oct 5 17:13:20 CEST 2005
On Wed, Oct 05, 2005 at 05:05:27PM +0200, Ralph Meyer wrote:
> Hallo Liste,
>
> wie kann ich am einfachsten ein Verzeichnis mit allen
> Unterverzeichnissen und darin befindlichen Dateien kopieren
> ,ausgenommen alle jpeg - Dateien ? Irgendwie komm ich nicht
> drauf.
find /dir ! -name "*.jpg" -print -exec cp {} ~/destination \;
Allerdings erhaelt das nicht die directory struktur ...
Evtl hilft das --parents fuer das cp ...
Flo
--
Florian Lohoff flo at rfc822.org +49-171-2280134
Heisenberg may have been here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20051005/b79da2cb/attachment.sig>
More information about the Linux
mailing list