#20 tar files shouldn't trash current directory

Ray Morris

The convention on Linux is that extracting a tarball named
bm253.tar.gz will create a directory named bm253/ with
other files within. It's extremely annoying to many
Linux users
when they occassionally come across a tarball that dumps
everything in the current directory because if there
were a lot
of existing files already it can be extremely difficult
to find
and move the newly extracted files.
Note that the open source release howto here on SourceForge
makes this same point very strongly. Please create
your tar
files in the standard way that users expect. Using GNU
Standard way:
tar -zcvf bm253.tar.gz bm253/
Annoying way:
tar -zcvf bm253.tar.gz .


  • Michael Prager

    Michael Prager - 2004-09-06
    • assigned_to: nobody --> michaelprager
    • status: open --> closed
  • Michael Prager

    Michael Prager - 2004-09-06

    Logged In: YES

    Interesting, I've noticed that most projects pack their
    files the way you describe it, but I didn't realize that
    it's a standard. I'll fix the download files right away.
    Thank you for your suggestion. :-)


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks