Re: shell script science

a <[email protected]>
Newsgroups gmane.org.user-groups.linux.nmglug
Message-ID <[email protected]>
Hi

Trying to unscramble a previously functional program, any remedies 
specific issue.

Thanks, a

a@alap:~$ ~/rsnapshotBackup.sh
bash: /home/a/rsnapshotBackup.sh: No such file or directory
a@alap:~$ /home/a/bin/rsnapshotBackup.sh
backup of a home
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/bin/rsnapshot alpha
----------------------------------------------------------------------------
ERROR: Could not mkpath("/media/a/aBackup/alpha.0/", 0, 0755);
done
/home/a/bin/rsnapshotBackup.sh: line 6: read: -n: option requires an 
argument
read: usage: read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N 
nchars] [-p prompt] [-t timeout] [-u fd] [name ...]
a@alap:~$

On 10/13/20 12:34 PM, Brice Burgess wrote:
> instead of GUI wizardry, perhaps just launch the script from your 
> terminal window in the first place. e.g. open terminal program, and 
> execute ~/rnapshotBackup.sh
>
> if you need to fix the "run in terminal" functionality, my guess is 
> that it has to do w/ the script and how it's accessing a TTY that 
> probably isn't availale. IMO not worth the effort -- just run it from 
> the terminal program. or cron, or however you want to schedule it.
>
> On Tue, Oct 13, 2020 at 12:27 PM a <[email protected] <mailto:[email protected]>> 
> wrote:
>
>     Hi
>
>     OS Debian 10, Firebox, Cinnamon.
>
>     When choosing run in Terminal (see below or attach), there is a
>     brief flash.Query: How to run in terminal it sleeps in /home/bin.
>
>     When choosing run (see below or attah), it appears to update
>     backup. I would like to see the process merge a solution.
>
>     Thanks, a
>
>     l
>
>     _______________________________________________
>     nmglug mailing list
>     [email protected] <mailto:[email protected]>
>     http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
>
>
> _______________________________________________
> nmglug mailing list
> [email protected]
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org

_______________________________________________
nmglug mailing list
[email protected]
http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.