linkdata2sd  Artifact [4150a96fdd]

Artifact 4150a96fdddafc734f9e216b75e6ba97d2aa3b65:

Wiki page [linkdata2sd] by brau 2016-03-20 16:25:46.
D 2016-03-20T16:25:46.228
L linkdata2sd
P bbffb11f354787c3d65dc6418059c0e0ded1727f
U brau
W 1815
<h1>linkdata2sd</h1> is a script designed to run inside Android phones to migrate data/cache directories from internal storage to sd card.

Assuming you have Link2sd installed in your phone, this script covers
the data handled by premium licence only.

This is not an app, it is a script sh. It was tested on Android 2.3,
aside from that there are no dependencies. I don't know if it works
on newer devices.

To run it you could install
a terminal emulator app or login into the device via a ssh server app.

Once in terminal
<pre>
$su      (enter root mode, if not already)
#sh linksd.sh    (wherever the script is located)
...
</pre>


In default mode the app presents the installed apps' data/cache sorted by size
(in decreasing order). From here on you can:

<ul>
  <li>move the data to/from the sd card (link/unlink)</li>
  <li>launch a shell inside the data directory (sh)</li>
  <li>make a snapshot of current data (snap)</li>
  <li>reuse a previous snapshot </li>
  <li>delete the data (delete)</li> 

</ul>

<h2>Sample session</2>

This sample shows aquamail and whatsapp apps data linked in sdcard
preceded by the listing of all the snapshots taken. In the aquamail case,
the linked snapshot is 20160319_041426.

<pre>
   snapshot-1
   my-snapshot
 * 20160319_041426
org.kman.AquaMail [8.4M, sd] (unlink/delete/sh/VERSION/snap/ren): it.sineo.android.noFrillsCPU [4.0K, phone] (link/delete/sh/snap): 

 * 20160319_041534
com.whatsapp [869.0K, sd] (unlink/delete/sh/VERSION/snap/ren): com.sec.pcw.device [4.0K, phone] (link/delete/sh/snap): 
com.sec.android.app.sns [4.0K, phone] (link/delete/sh/snap): 
com.sec.android.app.dialertab [4.0K, phone] (link/delete/sh/snap): 
com.sec.android.app.controlpanel [4.0K, phone] (link/delete/sh/snap): 
...
</pre>


Z f7228790a80fc146f39e9023ffa8e2a9