How to copy both hidden and visible files from the current folder using scp
# Local -> Remote:
scp -r <local_path> <host>@<ip>:<remote_path>
# Remote -> Local:
scp -r <host>@<ip>:<remote_path> <local_path>
*In my case (using a Synology NAS) on some Linux distros I either have to or can't use /volume1
before the rest of the path cause I'll get an access denied
error!