#!/usr/bin/bash
# File: android-move-and-link.sh
#----------------------------------------------------------------------------------
# THE ANDROID COMMANDS HERE DO NOT WORK, because Termux does not have updates 
# permission on the device outside its own app-specific folder.  Move using a 
# move-capable Android file explorer instead, or move and link on your PC.
# 
# (WAS: Move a root content folder to Termux's app folder, add root symlink to it. 
# Replace the "25C9-1405"s and "MY-STUFF" with your drive ID and folder name,
# make executable with a 'chmod +x this' where applicable, and run from a 
# Termux command line.)
#----------------------------------------------------------------------------------

mv /storage/25C9-1405/MY-STUFF /storage/25C9-1405/Android/data/com.termux/MY-STUFF
ln -s /storage/25C9-1405/Android/data/com.termux/MY-STUFF /storage/25C9-1405/MY-STUFF
