How to(per-edit) Back up system.yaml

I see this as only an absolute win, as not every package from the AUR is going to play nicely with BlendOS(imo). Or sometimes we modify system.yaml and we made the error and didn't realize it(new users : aka me) until you notice roots didn't actually apply.. Anyways!! Run:
sudo cp /system.yaml /system.yaml.bak && /system.yaml
sudo cp /system.yaml /system.yaml.bak && /system.yaml
cp
cp
is the standard copy command for Linux. It will copy the existing file(pre-changes) into a .bak file of relatively the same name. If the update failed or something is off about your system.yaml, you can always go back using..
sudo nano /system.yaml.bak
sudo nano /system.yaml.bak
Once in Nano "CTRL + O" And name the file:
/system.yaml
/system.yaml
Now you're back to your previously working .yaml file. Posted just to share knowledge, if this is the wrong thread for this let me know. Not that I have too much more to share. I would create a script for the first command tbh, call it something like u-yaml.sh(or anything) and use chmod +x the file ofc & use
./u-yaml.sh
./u-yaml.sh
7 Replies
·𐑑𐑬𐑣𐑱
It probably would be better to post these how to guides in #πŸ€©β”ƒshowcase
π•šπ•Ÿπ”½π•’π•Ÿπ•₯𝕣π•ͺ-πŸ›πŸš
Thanks uhhhhhh is it possible for me to move it on my own or would I need to ask a mod/redo the post?
Valkyrja
Valkyrjaβ€’3mo ago
jaoheah received a thank you Jao!
·𐑑𐑬𐑣𐑱
I don't think it is possible to move it, you would have to repost it.
·𐑑𐑬𐑣𐑱
I added a guide tag so you can use that.

Did you find this page helpful?