Cp : Add rcp_merge_fast.
This commit is contained in:
parent
891be4e038
commit
7210f32565
|
@ -12,6 +12,12 @@
|
||||||
rsync -ahP --chmod=u+w --delete "''${@}"
|
rsync -ahP --chmod=u+w --delete "''${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Copy and also merge all changes FAST (delete dst files that do not exist in src, only compare size).
|
||||||
|
# Usage: rcp_merge_fast <FROM> <TO>
|
||||||
|
function rcp_merge_fast() {
|
||||||
|
rsync -ahP --chmod=u+w --delete --size-only "''${@}"
|
||||||
|
}
|
||||||
|
|
||||||
# Copy by creating hardlinks.
|
# Copy by creating hardlinks.
|
||||||
# Works for directories, too.
|
# Works for directories, too.
|
||||||
# Usage: cp_link <FROM> <TO>
|
# Usage: cp_link <FROM> <TO>
|
||||||
|
|
Loading…
Reference in a new issue