Tips repository!
Wednesday, 4 January 2012
A nice one liner to replicate the directories owner and groups
find . -type d|awk '{print "ls -ld "$1}'|ksh|awk '{print "chown "$3"."$4" "$9}'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment