Answers for "how to change owner of all files in a directory"

1

how to change owner of all files in a directory

# Using the '*' wildcard you can include all other files and dirs
# Only us as many wildcards as you have layers in you directory
sudo chown <username:username> <directory_name>/*/*
Posted by: Guest on July-29-2020

Code answers related to "how to change owner of all files in a directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language