Page 1 of 1

Aliases Changed?

Posted: Tue Sep 15, 2020 1:40 pm
by Parkour_Lama
In reference to this topic:
viewtopic.php?t=3593

To execute in a script @MichaIng says to use

Code: Select all

/DietPi/dietpi/dietpi-backup 1
If I do that now, it still says command not found. What do I use?

Re: Aliases Changed?

Posted: Tue Sep 15, 2020 1:54 pm
by Joulinar
Hi,

many thanks for your message. On version v6.29, all DietPi scripts have been migrated from /DietPi to /boot folder. Script should be available as follow

Code: Select all

/boot/dietpi/dietpi-backup 1

Re: Aliases Changed?

Posted: Tue Sep 15, 2020 5:05 pm
by Parkour_Lama
Thanks for the help!

Re: Aliases Changed?

Posted: Wed Sep 16, 2020 8:29 am
by trendy
The old folder is symlinked to the new one, so the transition should be transparent anyway.

Code: Select all

lrwxrwxrwx   1 root root    5 Μαΐ   5 09:56 DietPi -> /boot

Re: Aliases Changed?

Posted: Wed Sep 16, 2020 8:38 am
by Joulinar
@trendy

If you have a newer image, or did a reinstall, the sym linc is not present anymore ;)

Re: Aliases Changed?

Posted: Mon Sep 21, 2020 9:08 pm
by MichaIng
Yes, the symlink was only left in place on upgrade to not break something on production systems. On new images it is not present anymore. I edited the paths in the linked thread.