diff --git a/NEWS b/NEWS index 382462c..e778c50 100644 --- a/NEWS +++ b/NEWS @@ -1,9 +1,14 @@ NEWS: MOBILE-SYNC 29.02.2012 =============================================================================== +# 2.2 (16. April 2012) +Bugfixes: + - compress() function now compresses the archive based on file ending; + the program tar is used now instead of bsdtar. + # 2.1 (29. February 2012) Enhancements: - - Added function isynch, which interactively lets you synchronize one folder. + - Added function isynch, which interactively lets you synchronize one folder - Added help option (only commandline) and text - Added adjustable timeout option - Added internable read_timeout option diff --git a/synclib.sh b/synclib.sh index 2d0d581..6061bba 100644 --- a/synclib.sh +++ b/synclib.sh @@ -1,6 +1,6 @@ # synclib.sh -# Version 2.1 (29. February 2012) +# Version 2.2 (16. April 2012) # Copyright (c) 2010-2012, Ben Morgan # # Permission to use, copy, modify, and/or distribute this software for any @@ -15,7 +15,7 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -_version="2.1" +_version="2.2" # Set the colors for the terminal cBOLD="\e[1m" @@ -99,7 +99,7 @@ function compress() { message "compressing: `var $input` to $output" sleep $timeout - bsdtar cf $startdir/$output $input + tar caf $startdir/$output $input if [[ $? -ne 0 ]]; then error "Last command ended with an error." if [[ $force -eq 0 ]]; then