Currently using rsync to backup my Home directory. I had previously used this param to exclude anything that began with "." - folders and files, but realized, I could be losing some important files with that.
Here was the original command with param:
Then I tweaked it to only apply to directories that began with "."
rsync -r -t -v --progress -b -s --exclude .* /home/alex/ /media/Recov/alex/
Does can someone proof read this for me and let me know if I'm on the right track?
rsync -r -t -v --progress -b -s --exclude .*/ /home/alex/ /media/Recov/alex/
btw - this part:
is just me backing up my home folder to a partition on my external drive called "Recov" - dont mind it - its just merely the destination.