hi,
ich such nen einzeiler, mit dem ich alle dateien eines bestimmten typs ab einem unter ordner rekursiv an einen ort kopieren kann, hat da wer was für mich?
mfg Pepe
dateien eines typs rekursiv kopieren
-
- Project Manager
- Posts: 11186
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: dateien eines typs rekursiv kopieren
Ungetestet:
Code: Select all
find . -type f -name *.ext -print0 | xargs -0 cp - /new/path/
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Userprojekt
- Posts: 244
- Joined: 2003-04-08 19:36