Tag Info

Hot answers tagged


Remove the blank space between - and z: tar -zxvf cmake-3.4.0.tar.gz This should work.


The -f option needs to be last one, as the following argument specifies the archive to process. tar -zxvif backup.tar.gz Note: My answer was correct for the GNU version of tar as used on most Linux systems. As you are using BSD tar on MacOS, the -i option is not available, it's exclusive to GNU tar. You could get it by installing e.g. Homebrew or ...


at first sight (w/o date of file/directory) : find data -type d -exec echo mkdir -p {} \; | ( cd tmp7 ; bash ) find data -type f -exec echo touch {} \; | ( cd tmp7 ; bash ) where data is your source tmp7 your destination

Only top voted, non community-wiki answers of a minimum length are eligible