Find the answer to your Linux question:
Results 1 to 2 of 2
I need to know how to archive content of directory to file and also how to extract archive from file to directory just as below. If first argument is a ...
  1. #1
    Banned
    Join Date
    Jun 2011
    Location
    Malaysia
    Posts
    5

    I need help from you guys!~

    I need to know how to archive content of directory to file and also how to extract archive from file to directory just as below.

    If first argument is a directory and second argument is a file, user is prompted to choose whether to archive content of directory to file or extract archive from file to directory.

    It's an assignment question and i dun understand the details of it, could somone explain to me with example? Just a simple example wil do.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Hello and welcome aboard, LinuxNoob89!

    Sorry, but as per our forum rules homework questions are not permitted, so locking this thread:

    http://www.linuxforums.org/forum/lin...ums-rules.html
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

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