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 3
3
# DISCLAIMER: This script comes without any warranty.
4
4
# It works for me but may not work for you. Back your data up first!
5
5
6
- CARD_DIR=" /run/media/$USER /palmOne 128"
7
6
JPILOT_DIR=" $HOME /.jpilot"
8
7
9
- ps_dir=" $CARD_DIR /PIMSync"
8
+ card_dir=" $( readlink -f " $1 " ) "
9
+ ps_dir=" $card_dir /PIMSync"
10
10
11
11
for i in AddressDB DatebookDB MemoDB ToDoDB; do
12
12
pdb_file=" $i " .pdb
@@ -25,7 +25,7 @@ for i in AddressDB DatebookDB MemoDB ToDoDB; do
25
25
cp " $ps_dir " /$pdb_file " $JPILOT_DIR " /pimsync_backup_card
26
26
27
27
# Merge local changes into card versions
28
- echo -e " \nMerging $pdb_file : "
28
+ printf " \nMerging %s: " " $pdb_file "
29
29
jpilot-merge " $ps_dir " /$pdb_file " $JPILOT_DIR " /$pc3_file \
30
30
" $JPILOT_DIR " /$pdb_file
31
31
rm " $JPILOT_DIR " /$pc3_file
You can’t perform that action at this time.
0 commit comments