On Monday 10 May 2004 3:16 pm, Abhiram Singh Kushwah wrote: > On Thursday 06 May 2004 22:26, Abhinav Gupta wrote: > > Hi ! > > > > I want to create a tarball of a very big directory (Say 2GB) but I don't > > want to add any "symlinked-to" file to it and not even symlinks. > > > > Although I may want to add the presence of the symlink in the tarball but > > I never want to add the files which are symlinked. > > > > Whenever I try to make the tarball It adds the symlinked-to files to > > itself and makes itself unnecessarily big. > > > > I have tried many options but couldn't make it done. Please help me if > > anyone knows any handy solutions. > > Hi, > Use below command that will do what you want > > find data-dir-path ! -type l ! -type d | tar -zcvf fillename.tgz -T- > > HTH > Abhiram
Thanx Abhiram... I will definitely give it a try... - Abhinav _______________________________________________ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/