Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 887 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 887 Bytes

Rsync aliases for fish

This plugin adds a couple of comfortable aliases for rsync.

Alias Description
rsync-copy copy all files and directories recursively preserving attributes with progress report
rsync-move move files and directories recursively preserving attributes and remove source files (will not remove directories though)
rsync-update copy files, but will not overwrite newer files on destination (also uses -a to preserve attributes)
rsync-synchronize synchronize source and destination, will remove files, which do not exist in SOURCE, but will keep newer files

Installation

Install it with fisher

    fisher add wawa19933/fish-rsync

Otherwise, copy all files to $XDG_CONFIG_HOME/fish/functions/

    cp *.fish $HOME/.config/fish/functions/