Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # inotifywait -m -e create -e moved_to . | while read dir action file
- do
- if [ -e "$file" ]
- then
- chattr +a "$file"
- echo Added +a to $file
- fi
- done
- % lsattr ff
- -----a-------e-- ff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement