Skip to content

Instantly share code, notes, and snippets.

@DanTheMan827
Created December 4, 2017 01:46
Show Gist options
  • Save DanTheMan827/156b3424763d8d0d28de39b3a308bed3 to your computer and use it in GitHub Desktop.
Save DanTheMan827/156b3424763d8d0d28de39b3a308bed3 to your computer and use it in GitHub Desktop.
mountpoint -q "$mountpoint/var/lib/clover/profiles/0" && umount "$mountpoint/var/lib/clover/profiles/0"
rm -r "$mountpoint/var/lib/clover/profiles/0"
mv "$mountpoint/media/hakchi/saves" "$mountpoint/var/lib/clover/profiles/0"
sync
mountpoint -q "$mountpoint/var/lib/clover/profiles/0" && umount "$mountpoint/var/lib/clover/profiles/0"
rm -r "$mountpoint/media/hakchi/saves"
mv "$mountpoint/var/lib/clover/profiles/0" "$mountpoint/media/hakchi/saves"
mkdir "$mountpoint/var/lib/clover/profiles/0"
sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment