Linux Tips
Jump to navigation
Jump to search
Disable Auto-Mount
You can temporarily disable automount by doing as root [1]:
$ rcdbus stop
Fast Copy using Netcat
When copying a directory that contains a lot of small files (like 1000+ files <1kB), it is faster to actually generate a tarball of the directory and have it unpacked on the fly on the destination server [2]:
Destination$ nc -l -p 2342 | tar -C /target/dir -xzf -
Source$ tar -cz /source/dir | nc Target_Box 2342