From 701d08d09434710c293adf787951f119db1b41ea Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 7 Jun 2010 19:42:09 -0400 Subject: restore: be nice and actually inform about where the restore was done to --- squashfu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'squashfu') diff --git a/squashfu b/squashfu index bd473b0..5fa1f48 100755 --- a/squashfu +++ b/squashfu @@ -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 -- cgit v1.2.3