Aliases Changed? Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Parkour_Lama
Posts: 12
Joined: Sat Sep 12, 2020 2:02 pm

Aliases Changed?

Post 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?
User avatar
Joulinar
Posts: 2582
Joined: Sat Nov 16, 2019 12:49 am

Re: Aliases Changed?

Post 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
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Parkour_Lama
Posts: 12
Joined: Sat Sep 12, 2020 2:02 pm

Re: Aliases Changed?

Post by Parkour_Lama »

Thanks for the help!
User avatar
trendy
Posts: 153
Joined: Tue Feb 25, 2020 2:54 pm

Re: Aliases Changed?

Post 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
User avatar
Joulinar
Posts: 2582
Joined: Sat Nov 16, 2019 12:49 am

Re: Aliases Changed?

Post by Joulinar »

@trendy

If you have a newer image, or did a reinstall, the sym linc is not present anymore ;)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 2422
Joined: Sat Nov 18, 2017 6:21 pm

Re: Aliases Changed?

Post 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.
Post Reply