Commit e8427263 authored by HerrHase's avatar HerrHase

change

parent 0e76d967
......@@ -4,6 +4,12 @@ A simple bash-script to backup with tar, split and gpg.
## History
### Version 1.1.1
**Bugfix**
* restore.sh / filelist with relative remote_directory not showing up
### Version 1.1.0
**Features**
......
......@@ -38,6 +38,12 @@ _restore_main()
_restore_options "$@"
if [ -z "${_restore_filename}" ]; then
# adding slash
if [ ! -n $remote_directory ]; then
remote_directory="${remote_directory}/"
fi
echo -e "No <time>, instead showing files on server"
echo -e "$(rsync --list-only -e 'ssh -p '${remote_port}'' ${remote_username}@${remote_host}:${remote_directory} | grep '.tar.bz2*')"
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment