Exforsys
+ Reply to Thread
Results 1 to 4 of 4

Want to Send Files

This is a discussion on Want to Send Files within the Linux forums, part of the Operating Systems category; I have number of files to be sent across to another user in my UNIX operating system. Since each file ...

  1. #1
    Adrian is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    124

    Want to Send Files

    I have number of files to be sent across to another user in my UNIX operating system. Since each file is of large size and there are numerous files I want to compress in a efficient manner these files and send it to the user so that the user can unzip at their end as individual files. How can I do this in my UNIX system?


  2. #2
    sammy is offline Senior Member Array
    Join Date
    Apr 2006
    Answers
    144
    There are lot of ways for compressing in UNIX operating system and sending the lot of files you have. As a first step first give tar command to all the files you have and then proceed with process of compressing the files by using the gzip command with -c clause in it followed by all the files you have and the resultant compressed file can be stored in a single new file. Say for instance you have tow files named as test1 and test2.To compress these files first use tar command on the two files test1 and test2 and then use the below option to compress the files as:
    gzip -c test11 test22 > result.gz

    The above would compress the tow files test1 and test2 and the resultant compressed file will be in result.gz. Follow the same above approach for all the files you have.


  3. #3
    swapwarick's Avatar
    swapwarick is offline Member Array
    Join Date
    Mar 2011
    Location
    Pune,India
    Answers
    37
    nice post sammy... i liked it!


  4. #4
    kleenex is offline Junior Member Array
    Join Date
    Jul 2011
    Answers
    10
    quite good information. Thanks for that.


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...