About 50 results
Open links in new tab
  1. 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 …

  2. 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 …

  3. 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

  4. 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.

  5. 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.

  6. linux - Unzip command extracts all files without directory structure ...

    Jun 29, 2023 · The desired result would be to extract the zip file maintaining the directory structure of the zip file, with all files located in the directories they belong-to.

  7. Recursively List all directories and files - Stack Overflow

    Jul 3, 2015 · I would like to receive the following output. Suppose the directory structure on the file system is like this: -dir1 -dir2 -file1 -file2 -dir3 -

  8. linux - How do I recursively list all directories at a location ...

    Apr 3, 2015 · That is, find and print all the directories here in depth first order count the number of slashes in each directory and prepend it to the path sort by depth (i.e., number of slashes) extract …

  9. 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

  10. linux - Recursively unzip all subdirectories while retaining file ...

    Nov 18, 2021 · Recursively unzip all subdirectories while retaining file structure Asked 4 years, 2 months ago Modified 4 years, 2 months ago Viewed 3k times