diff options
author | Dave Reisner <d@falconindy.com> | 2010-06-07 19:42:09 -0400 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-06-07 19:42:09 -0400 |
commit | 701d08d09434710c293adf787951f119db1b41ea (patch) | |
tree | 1efd70f604936408a03b024140b1dbe895d7edad | |
parent | 11377a2fd9723c3868eb2108bdf73e2936055a4a (diff) | |
download | squashfu-701d08d09434710c293adf787951f119db1b41ea.tar.gz |
restore: be nice and actually inform about where the restore was done to
-rwxr-xr-x | squashfu | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -388,7 +388,9 @@ action_restore () { mount_union_with_bins ${bin_list[@]:0:$num} || die "Failed to mount union" # XXX: Move the contents, not the dir (avoid extra subdir) - rsync -av "$UNION_MOUNT/$1" "$(basename $1).${snaps[$reply]}" + rsync -a "$UNION_MOUNT/$1" "$(basename $1).${snaps[$reply]}" + + info "Your $(stat -c %F "$UNION_MOUNT/$1") has been restored as ${PWD}/$(basename $1).${snaps[$reply]}" unmount_all |