Search Results

Search: Posts Made By: bo0ork
14,094
Posted By bo0ork
A substantially better solution, which correctly...
A substantially better solution, which correctly handles filenames with spaces in them:

find $1 -exec /bin/sh -c 'chmod g+`ls -ld "{}" | cut -c2-4` "{}"' \;

Either put it in a shell script, or...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy