
find . -type d -maxdepth 1 -exec tar -cf {}.tar {} \; voor het geval er nog meer subdirs zijn ? Marijn Vandevoorde wrote:
find -type d -exec tar -cf {}.tar {} \; ongeveer zoiets
als je't niet meteen vindt wil ik meer moeite doen :-)
On Thu, 2010-06-10 at 14:45 +0200, Michiel Van Bel wrote:
ok, don't want to spend half an hour googling and reading man-pages: I have a directory with 25 subdirectories (each containing from 200MB to 3 GB of data) I want to have each subdirectory archived in a separate archive file.
Any idea on how to do this in 1 command?
Michiel
-- ================================================================== Frederik Delaere Tel:+32 (0)9 331 38 14 fax:+32 (0)9 3313809 VIB Department of Plant Systems Biology, Ghent University Technologiepark 927, 9052 Gent, BELGIUM frlae@psb.vib-ugent.be http://www.psb.vib-ugent.be ==================================================================