Operating systems : Linux
Extracting tar.gz files in Linux, command line:
tar zxvf file.tar.gz
- z : filter the archive through gzip [ 1 ]
- x : extract files from an archive
- v : list the files processed
- f : use archive file
The command extracts the contents of a compressed archive to the current directory.
Tar creates an archive of one or several files. Then gzip is used to compress it. Or both processes are made at once by tar only, with corresponding options employed. The duality of nature - archived and compressed after - is reflected in the extension of the file ("tar.gz") and requires two procedures to be performed while extracting: decompressing and unpacking. Hence both z (decompress it) and x (unpack it) in the command.
Aliosque subditos et thema
Renaming a folder in DOS by MOVE command: MOVE FOLDER1 FOLDER2 - Renames FOLDER1 into FOLDER2 The method works in Windows command prompt as well. [ 1 ] MS-DOS 6.0+ tested - but it also may happen to work well under other versions of MS-DOS or other DOS'es.