SHARE
TWEET

Untitled

a guest Dec 3rd, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. origGroupsStr=$(groups $3)
  2. newGroupsStr=${origGroupsStr##$3 :}
  3. echo "All groups for "$3" : "$newGroupsStr"\nFiles which was modificate in last "$2" minutes and containings in "$1" and has owner one of this groups : "
  4. for group in $newGroupsStr
  5. do
  6.   for filename in $(find $1 -type f -mmin -$2 -group $group)
  7.   do
  8.     echo "filename : "$filename" group owner : "$group
  9.   done
  10. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top