Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have 5-6 files each of minimum 60MB of size. i want to put these all file to single directory. i am trying it with tat -cvf ii.tar <file ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    20

    Archive 5-6(10GB) files in one single Directory

    Hi,

    I have 5-6 files each of minimum 60MB of size. i want to put these all file to single directory. i am trying it with tat -cvf ii.tar <file name> but no output. I am trying to run this command from putty. by doing so it is showing some garbage values on the screen.
    Please help me.

    Thanks,
    Inder

  2. #2
    Just Joined!
    Join Date
    Apr 2008
    Posts
    35
    Hey There,

    It looks like your file redirection is doing what it's supposed to, but not what you want to. If you "file name" is a file with a list of files in it, I believe

    tar cvf ii.tar -I "file name"

    would do it

    If "file name" is the name of a singular file that your trying to tar

    tar cvf ii.tar "file name"

    should be all you need to do.

    Let me know if I'm off-base in my response. Hopefully, it was helpful

    Thanks,
    Mike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...