File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33# DISCLAIMER: This script comes without any warranty.
44# It works for me but may not work for you. Back your data up first!
55
6- CARD_DIR=" /run/media/$USER /palmOne 128"
76JPILOT_DIR=" $HOME /.jpilot"
87
9- ps_dir=" $CARD_DIR /PIMSync"
8+ card_dir=" $( readlink -f " $1 " ) "
9+ ps_dir=" $card_dir /PIMSync"
1010
1111for i in AddressDB DatebookDB MemoDB ToDoDB; do
1212 pdb_file=" $i " .pdb
@@ -25,7 +25,7 @@ for i in AddressDB DatebookDB MemoDB ToDoDB; do
2525 cp " $ps_dir " /$pdb_file " $JPILOT_DIR " /pimsync_backup_card
2626
2727 # Merge local changes into card versions
28- echo -e " \nMerging $pdb_file : "
28+ printf " \nMerging %s: " " $pdb_file "
2929 jpilot-merge " $ps_dir " /$pdb_file " $JPILOT_DIR " /$pc3_file \
3030 " $JPILOT_DIR " /$pdb_file
3131 rm " $JPILOT_DIR " /$pc3_file
You can’t perform that action at this time.
0 commit comments