About 165,000 results
Open links in new tab
  1. linux - How do I tar a directory without retaining the directory ...

    Includes all files and folders in the directory Does not include any of the directory structure (or .) in the final product Does not require you to change directories. However, it requires the directory to be …

  2. Linux command to print directory structure in the form of a tree

    Aug 11, 2010 · Adding the below function in bashrc lets you run the command without any arguments which displays the current directory structure and when run with any path as argument, will display …

  3. archive - How do I tar a directory of files and folders without ...

    The -C my_directory tells tar to change the current directory to my_directory, and then . means "add the entire current directory" (including hidden files and sub-directories).

  4. How can I export a recursive directory & file listing to a text file in ...

    7 Use find to get a listing of all the files in a directory and its subdirectories, then pipe it to a file with the > operand.

  5. linux - unzip in current directory while preserving file structure ...

    Jan 23, 2017 · I'm in a directory and I have a zip containing files and directories. I need to unzip that file, into current directory, but preserving the file structure. unzip myfile.zip will create a myfile

  6. linux - Create zip file and ignore directory structure - Stack Overflow

    Dec 5, 2019 · Unix zip directory but excluded specific subdirectories, how to exclude directories and file zipping a directory?, How to exclude a directory when zipping files, etc.

  7. linux - Copy folder structure (without files) from one location to ...

    Dec 29, 2019 · I want to create a clone of the structure of our multi-terabyte file server. I know that cp --parents can move a file and it's parent structure, but is there any way to copy the directory structure

  8. linux - Tar a directory, but don't store full absolute paths in the ...

    Sep 8, 2013 · There are already many questions about tar and backuping in stackoverflow and at other places on the web, but most of them ask for dropping the entire sub-directory structure (flattening), or …

  9. linux - Creating a full directory tree at once - Stack Overflow

    The question I believe was to make a nested directory structure of sorts from a single command/bash script. Tree however, gives a visual of the existing directory structure and does not really make one.

  10. linux - scp a folder to a remote system keeping the directory layout ...

    Jan 21, 2016 · I have a large directory tree with hundreds of nested sub-folders. I need to copy only 4 folders and their contents to a remote system, but I need to destination folder structure to be kept the …