tree when rsync
This commit is contained in:
parent
c6b4a439d9
commit
2436b162ee
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ $# -eq 2 ]; then
|
if [ $# -eq 2 ]; then
|
||||||
|
tree -ha --du "$1"
|
||||||
time rsync -vazh --progress --partial "$@"
|
time rsync -vazh --progress --partial "$@"
|
||||||
else
|
else
|
||||||
time rsync "$@"
|
time rsync "$@"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user