Newsgroups: comp.unix.wizards Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!rochester!kodak!ispd-newsserver!garden.ssd.kodak.com!weimer From: weimer@garden.ssd.kodak.com (Gary Weimer (253-7796)) Subject: Re: taring filenames>100 char? Message-ID: <1991Apr9.182744.29286@ssd.kodak.com> Sender: news@ssd.kodak.com Reply-To: weimer@ssd.kodak.com Organization: Eastman Kodak Co.; Rochester, NY References: <1991Apr9.075208.25211@uniwa.uwa.oz> Distribution: comp Date: Tue, 9 Apr 91 18:27:44 GMT In article <1991Apr9.075208.25211@uniwa.uwa.oz>, chris@ec.uwa.oz.au (Christoph Uloth - operator) writes: |> how can I tar a directory structure where the total pathname/filename |> is larger than 100 characters Two things that come to mind right away. Let's say you want to tar ~//*.dat 1) % cd ~/ % tar c *.dat or % cd ~//.. % tar c ./*.dat 2) create a link to shorten the path. % cd ~ % ln -s short-cut % tar c short-cut/*.dat The -C option might also be what you are looking for. Since you don't give any details, it's hard to say what might be best for your case. weimer@ssd.kodak.com ( Gary Weimer )