Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
c5a01fe4
Commit
c5a01fe4
authored
Jun 15, 2011
by
meh
Browse files
rsync: add plugin
parent
ed990f61
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/rsync/rsync.plugin.zsh
0 → 100644
View file @
c5a01fe4
function
copy
{
rsync
-av
--progress
-h
"
$1
"
"
$2
"
}
function
move
{
rsync
-av
--progress
-h
--remove-source-files
"
$1
"
"
$2
"
}
function
update
{
rsync
-avu
--progress
-h
"
$1
"
"
$2
"
}
function
synchronize
{
rsync
-avu
--delete
--progress
-h
"
$1
"
"
$2
"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment