[nmglug] WHAT THE HAY, aBACKUP.

Akkana Peck akkana at shallowsky.com
Sun Oct 11 08:44:42 PDT 2020


If there's no file named ./home/a/bin/rsnapshotBackup.sh
(it says No such file or directory), chmod and su won't
change that; the file just isn't there.

In the commands you pasted, you're trying to access two different
files: /home/a/bin/rsnapshotBackup.sh and
./home/a/bin/rsnapshotBackup.sh. For the second one, the dot at the
beginning means: start from the current directory (.) and look
inside it for a directory named home, then look inside home for a,
then inside a for bin, then look there for rsnapshotBackup.sh.

But it looks like neither of those files exists, so you won't be
able to run the file unless you figure out where it is. Try:

locate rsnapshotBackup.sh

or if you don't have locate (Command not found), try the much slower:
sudo find / -name rsnapshotBackup.sh
to search your whole disk for any file by that name.

The screenshot shows a file named rsnapshot, which doesn't tell you
anything about where rsnapshotBackup.sh might be.

        ...Akkana

a writes:
> OS DEBIAN 10, FIREFOX, CIMMANON.
> 
> Q. RECONSTITUTE aBACKUP
> 
> a at alap:~$ ./home/a/bin/rsnapshotBackup.sh
> bash: ./home/a/bin/rsnapshotBackup.sh: No such file or directory
> a at alap:~$ chmod +x /home/a/bin/rsnapshotBackup.sh
> chmod: cannot access '/home/a/bin/rsnapshotBackup.sh': No such file or
> directory
> a at alap:~$ sudo
> 
> a at alap:~$ su
> Password:
> root at alap:/home/a# ./home/a/bin/rsnapshotBackup.sh
> bash: ./home/a/bin/rsnapshotBackup.sh: No such file or directory
> root at alap:/home/a#
> 
> SEE ATTACHMENT EXECUTABLE. WHEN USING EITHER "RUN" OR "RUN IN TERMINAL"
> CANNOT LOCATE THE RESULTS. OBJECTIVE IS TO UPDATE BACKUP FILES,  WHAT THE
> HAY, YOUR WEEKEND LINUX CORRESPONDENT. BEST, a


More information about the nmglug mailing list