Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

tar question

  • 28-01-2007 6:18pm
    #1
    Closed Accounts Posts: 2,349 ✭✭✭


    Hello, quick question.
    How in the name of god do i untar 30 archives at once. If I go

    tar -xzvf *

    it thinks that everything after the first file is a list of files that i want to untar. Same happens if I type them all one by one besiee each other.

    Pain in the ass.


Comments

  • Registered Users, Registered Users 2 Posts: 26,584 ✭✭✭✭Creamy Goodness


    for i in *.tar.gz; do tar -xvzf $i; done

    from the top of my head this should work, i'm not near a *nix machine so i can't try to make sure


  • Closed Accounts Posts: 2,349 ✭✭✭nobodythere


    Worked like a charm, thank you sir!


  • Registered Users, Registered Users 2 Posts: 26,584 ✭✭✭✭Creamy Goodness


    glad to help. :p


Advertisement