
lieven sterck schreef:
alrighty, thx thpar/napoc, that already shed some light in the darkness .... but now I'll raise the stacks:
how can i use the -C option to tar all files from a certain dir? because apparently it only works when using full file names (does not accept *.png)
Not sure if you really need the -C option. tar -czvf mytar.tar.gz somedir/*png This creates a tar.gz file with all png-files in somedir T.
Thomas Van Parys wrote:
lieven sterck schreef:
does anyone know how to use the -C option in 'tar'
thx, L.
example from the man page: tar -xjf foo.tar.bz2 -C bar/
this will extract (x) and unbzip (j) the file (f) foo.tar.bz2 into the directory (C) bar/
-- ================================================================== Thomas Van Parys 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 thomas.vanparys@psb.ugent.be http://bioinformatics.psb.ugent.be ==================================================================