Bash script help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux