Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

RE: Tarball Cleaner

by Anonymous Monk
on Feb 17, 2000 at 20:50 UTC ( #3616=note: print w/replies, xml ) Need Help??

in reply to Tarball Cleaner

Some tarballs dont create new directories.
This can be bad news.

I recently did a rm -rf `tar tvfz blah.tgz` on a tarball that had contained ./ and had made a mess in the cwd

Luckily, the "v" saved me, as I assume rm -rf ./ would be pretty bad.

In my haste, I have not considered how your code would handle this, but it might be good to check.

Replies are listed 'Best First'.
Re: RE: Tarball Cleaner
by deprecated (Priest) on Jan 21, 2001 at 04:56 UTC
    Is there a reason Archive::Tar was not used in this case? I am working on a project with it (code to follow, maybe even this evening), and it seems pretty straightforward (if a little braindead), and doesnt require the use of `` and the like...

    update: that code is here.


    i am not cool enough to have a signature.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://3616]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2022-05-28 03:37 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (98 votes). Check out past polls.