Skip to content

Instantly share code, notes, and snippets.

@tahl
Created October 7, 2011 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tahl/1271463 to your computer and use it in GitHub Desktop.
Save tahl/1271463 to your computer and use it in GitHub Desktop.
Antipaper Notes HD Backup Script -> SD Card (ASUS Transformer)
#!/bin/bash
#Script for ASUS Transformer
#Moves Antipaper Notes HD notebooks to the SD Card and sets the storage up a symbolic link on the device to move all future notebooks to the SD Card.
#Script created by @ArchDukeDoug
cd /
mkdir /Removable/MicroSD/Antipaper
mkdir /Removable/MicroSD/Antipaper/Notebooks
cp -f /data/data/com.pancerola.and.antipaper.notes/files/* /Removable/MicroSD/Antipaper/Notebooks
rm -R /data/data/com.pancerola.and.antipaper.notes/files/
ln -s /Removable/MicroSD/Antipaper/Notebooks /data/data/com.pancerola.and.antipaper.notes/files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment