Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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>/*/*
 
PREVIOUS NEXT
Tagged: #change #owner #files #directory
ADD COMMENT
Topic
Name
4+7 =