RE: 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.
>

Have you run the commands manually (outside of the script) to see if it
works?
You can also use the "-x" after the shell declaration and the script will
give you verbose output and tell you everything it is doing as it's going..
That might help you nail down where the problem is.

#!/bin/sh -x



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