Using tar files
Tar files dont actually compress anything. They just bundle up files into one Tape ARchive. Which is why you generally see that tar files also zipped with gzip.
To create a tar file:
#tar -cvf
Note: The extension needs to be specified. The target can be a wildcard or a directory.
To unroll a tar file:
#tar -xvf
Note: You might want to run tar with the -tvf switch to see what the file contains before extracting.
To create a zipped tar file (using gzip):
#tar -zcvf
To untar and to uncompress a tar file in one command (valid for gzipped files):
#tar -zxvf
----------------------------------------------------------------------------------------------------------------------
Oh and by the way, to confirm that the file you are copying is correctly copied to the target machine, u can you the "sum" command which prints out the checksum for the file.
#sum
The checksum should be identical with the source machine.
PS: If you are using Windows, I dont think you will have a checksum utility (??). I would suggest you install cygwin which provides windows versions of all the common Unix commands.
\\fileserver\public\software\windows\X-Servers\setup.exe
or
http://www.cygwin.com/
No comments:
Post a Comment