Date: Wed, 31 Dec 2003 13:29:49 -0600 From: Chris <racerx@makeworld.com> To: "Xpression" <admin@atenas.cult.cu>, "FreeBSD-questions" <questions@FreeBSD.ORG> Subject: Re: tar question... Message-ID: <200312311329.49998.racerx@makeworld.com> In-Reply-To: <000f01c3cfd3$5aa7a090$0901a8c0@bloodlust> References: <000f01c3cfd3$5aa7a090$0901a8c0@bloodlust>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 31 December 2003 1:21 pm, Xpression wrote: > Hi list, I've googled to search an aswer but no one match > mine. I want to tar all files on a directory without include > any other directory, I've tried with --exclude but no hope, > any suggestion ??? Thanks... > I dom something similar to what you ask. What I do is tar a directory and all it's contense EXCEPT one diectory. It goes something like this: tar -zcf name.tgz --exclude MP3 dirname/ Explanation: I'm tarring a dir. and excluding the dir MP3 and it's files. I'm sure you will be able to expand on this. Use man tar to see all the switches. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- Best regards, Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312311329.49998.racerx>