Created
October 14, 2022 21:38
-
-
Save mehdichaouch/c12526fece9ed3a63e00574041324a3b to your computer and use it in GitHub Desktop.
๐ฎ Batocera command to reboot and fix files/folders permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#alias bato_reboot="ssh [email protected] -t 'reboot'" | |
ssh [email protected] -t 'reboot' | |
#alias bato_fix_perms="sudo chown -R root:root . && sudo find . -type f -exec chmod -c 644 {} \; && sudo find . -type d -exec chmod -c 755 {} \;" | |
# to run from SHARE/roms folder | |
sudo chown -R root:root . && sudo find . -type f -exec chmod -c 644 {} \; && sudo find . -type d -exec chmod -c 755 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment