Thread: Tar Question

    #1
  1. No one Important
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2000
    Location
    Australia
    Posts
    524
    Rep Power
    18

    Tar Question


    Hi there people, I was wondering if anyone could please help me....

    Just a simple question, how do I go about creating a tar file, but only adding .php & .plib files?

    Do not need anything else just anything that matches those extensions.

    Any help would be great, cheers
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2004
    Location
    Middle Europa
    Posts
    1,198
    Rep Power
    17
    OS ?
    on *nix
    tar cf mytarfile *.php *plib
    first exec an: ls *.php *plib wc -l
    to know how many files you are taring
    if < MAXARGS (dont remember the name && value) you are happy
    else you need a little more

IMN logo majestic logo threadwatch logo seochat tools logo