I can't fathom why rsync isn't working...
Here's my directory and contents...
$ pwd
/home/alec/.dotfiles
$ ls
'~' neomutt tmux vit gitconfig mbsyncrc myclirc taskrc tmux.conf vimrc zshrc
drush remote-servers vim ackrc khard.conf msmtprc ptpython_config.py tigrc tmuxinator.zsh xinitrc
and here's my backup command...
rsync -avvr --exclude='view' /home/alec/.dotfiles /media/alec/storage/dotfiles
After running that command, the destination files are un-changed...
$ pwd
/media/alec/storage/dotfiles
$ ls
drush hiddendrush vim gitconfig tmux.conf tmuxinator.zsh vimrc xinitrc zshrc
I don't know how any more simple it could be. The --exclude='view'
is because there's some contents in there that breaks the rsync command and that subdirectory's not needed anyway. What could be the problem?
When I type the command rsync
prints to the terminal the entire contents of the source directory, hundreds of files, but they don't get copied to the destination. Why?