rmv, mv with rsync

This commit is contained in:
q
2014-02-09 11:46:43 +02:00
parent 54795d1f1b
commit c19c575fe5

View File

@@ -182,8 +182,6 @@ function gcd() {
function rmv () {
#mv with rsync
local length
local sources
rsync -vaP --remove-source-files "$@"
# remove empty folders from sources (not last argument)
for (( i=1; i<=$(($#-1)); i++ ))