Home · Latest · Trends  /  general
0

find files owned by one user and chown them to another user

rated 0 times [  0] [ 0]  / comments: 0 / hits: 338  / 2 yaers ago, thu, feb 23, 2017, 12:02:14
Handy if someone is replaced with someone new..
find . -user olduser -exec chown newuser.newuser {} ;
More From » general
 

Comments

There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account
 
Share
Sponsor
Posted
rob

rob

Member since Feb 22, 2017
Total Code Snippets: 118
Total Comments: 1
Location: n/a
Following
User not following anyone yet.
rob snippets
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017