exchangevorti.blogg.se

Untar a file
Untar a file





untar a file

(1-c) You don't any idea, where it is but you are sure the file is somewhere on the computer, then I would say the following. See the output of above command and let us call it step 1 result In the computation world, there are two different versions of tar, namely BSD tar and GNU tar. The -v option will make the tar command more visible and print the names of the files being extracted on the terminal. Windows users will need a tool named 7zip to extract tar.gz files. (1-b) You don't have much idea, where it is but you are sure the file belongs to you (user = singh), then I would say the following. Untar is a process of reversion of the process which leads to formation of the tar file. To extract (unzip) a tar.gz file simply right-click on the file you want to extract and select Extract. See the output of above command and let us call it step 1 result. (1-a) You have rough idea that the "" is in /home/singh/Documents, then you will say the following find "/home/singh/Document" -name ""

untar a file

(1) If you have a fair idea where the "" might be then the search will be shortened otherwise it will take a long time to finish (alongwith many warnings of 'Permission Denied'). You can know your user name by typing "whoami" in the bash shell or to locate your current directory, you can type "pwd". Say the username is "singh", all the folders and files by default will be stored in "/home/singh" or somewhere nested within it.

#UNTAR A FILE FULL#

(2) Use the full path (obtained in step 1) and give it to tar commandįolder structure in Ubuntu starts from "/" (also called root). To solve this, I will break the problem in two steps. The message is saying that, in your current directory (which I assume is your home directory, when you start your bash shell in default manner), there is no file such as.







Untar a file