Answers for "change owner of all the files from a directory linux"

1

change owner of all the files from a directory linux

chown -R username:group directory
Posted by: Guest on September-04-2020
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 "change owner of all the files from a directory linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language