Multiline echo to file
Template for multiline echo to file in linux systems.
cat
<< EOF > /path_to_file
multi
line
contentEOF
Removing @eaDir folders from Synology shares
This is solution to find and delete all @eaDir folders at Synology directory.
- To find all directories named @eaDir use the command:
# find . -type d -name "@eaDir"
- To delete all found, do:
# find . -type d -name "@eaDir" -print0 | xargs -0 rm -rf
Changing the key mapping under linux
Today a small tutorial on how to remap keys under linux