Created
January 20, 2024 10:39
-
-
Save draganHR/bf06d9defcbcdb847159d8cbb37b34f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Generate commands to recreate directory structure, including ownership and permissions | |
find . -type d -printf "install --mode="%m" --owner="%u" --group="%g" -d "%p/\\n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment