
[mibel@midas test_tar]$ find . -type d -exec tar -cf {}.tar {} \; tar: ./.tar: file is the archive; not dumped [mibel@midas test_tar]$ meh :-/ Nog niet volledig Marijn Vandevoorde wrote:
met een puntje achter de find weliswaar. voor de rest zou het redelijk close moeten zijn
On Thu, 2010-06-10 at 14:50 +0200, 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
-- ================================================================== Michiel Van Bel PhD student Tel:+32 (0)9 331 36 95 fax:+32 (0)9 3313809 VIB Department of Plant Systems Biology, Ghent University Technologiepark 927, 9052 Gent, BELGIUM mibel@psb.vib-ugent.be http://www.psb.vib-ugent.be http://bioinformatics.psb.ugent.be ==================================================================