Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.41 KB

TermuxSetupStorage.md

File metadata and controls

26 lines (20 loc) · 1.41 KB

'''It is necessary to grant storage permission for Termux on Android 6 and higher. Use 'Settings>Apps>Termux>Permissions>Storage' and set to true.

Execute termux-setup-storage (run [[apt]] update && [[apt]] upgrade to make sure that this tool is available) to ensure:

  • That permission to shared storage is granted to Termux when running on Android 6.0 or later,
  • That an app-private folder on external storage is created (if external storage exists),
  • That a folder $HOME/storage is created.
  • The contents of the created $HOME/storage folder are symlinks to different storage folders:

** /storage/shared The root of the shared storage between all apps, ** /storage/downloads The standard directory for downloads from e.g. the system browser, ** /storage/dcim The traditional location for pictures and videos when mounting the device as a camera, ** /storage/pictures Standard directory in which to place pictures that are available to the user, ** /storage/music Standard directory in which to place any audio files that should be in the regular list of music for the user, ** /storage/movies Standard directory in which to place movies that are available to the user, ** ~/storage/external Symlink to a Termux-private folder on external storage (only if external storage is available).