Find and change a users uid
Most useful for providing a consistent uid on machines accessing an NFS mount:$ sudo find . -xdev -user-print -exec chown {} \;
TextSnippets > find >
Post code snippets. Sort by tags, people, people and tags, etc..
? Earlier | 3 items total | Later ? |
$ sudo find . -xdev -user-print -exec chown {} \;
cd /usr/local/scratch/ mkdir junk find /var/spool/postfix -exec grep "somediscernible-feature.com" '{}' \; | awk '{print($3)}' | xargs -J X mv X ./junk/
Binary file /var/spool/postfix/active/D/D8832E38 matches Binary file /var/spool/postfix/active/D/D78EC1C72 matches Binary file /var/spool/postfix/active/D/D593D279D matches Binary file /var/spool/postfix/active/D/D0EB32833 matches
/var/spool/postfix/active/D/D8832E38 /var/spool/postfix/active/D/D78EC1C72 /var/spool/postfix/active/D/D593D279D /var/spool/postfix/active/D/D0EB32833
? Earlier | 3 items total | Later ? |