  | |  | Bash script help | Bash script help 2004-02-05 - By Mathieu Masse
Back Hi,
I want to write a bash script to copy my bookmarks, addressbook and
mbox files from Mozilla on Linux to Mozilla on Windows. I started with
this but it keeps giving me a Permission denied error.
########
#!/bin/sh
# This script will copy my mail folders (mbox, rules, contacts and
bookmarks)
# to my windows directory.
lin=/home/mathieu/.mozilla/default/lprtbxy0.slt/
win=/mnt/W2K/Documents\ and\ Settings/Mathieu\ Masse/Application\
Data/Mozilla/Profiles/Default\ User/qe0cqve6.slt/
cp $lin/bookmarks.html $win
cp $lin/abook* $win
########
My windows drive is mounted as the following in fstab:
/dev/hda1 /mnt/W2K vfat
auto,umask=0 0 0
Can anyone help me?
Mathieu
--
Mathieu Mass?M.Sc.
Phone: (819) 775-4654
Email: mathieu_masse@(protected)
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|
 |