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