tar, packages files, it can compress and decompress it.
tar -cf /mnt/sdcard/my_files.tar /mnt/sdcard
tar -czf /mnt/sdcard/archivos.tar.gz /mnt/sdcard (compress)
tar -cjf /mnt/sdcard/archivos.tar.bz2 /mnt/sdcard (compress)
untar
tar -xf /mnt/sdcard/archivos.tar -C /mnt/sdcard/bk_dir/
tar -xzf /mnt/sdcard/archivos.tar.gz -C /mnt/sdcard/bk_dir/
tee, reads the standard input and writes it to both the standard output and one or more files.
ls -ali /mnt/sdcard/ | tee /mnt/sdcard/my_list.txt | cat
touch, change file timestamps or create empty file.
touch /mnt/sdcard/zero.txt
touch -am 2019-12-12T12:12:12 /mnt/sdcard/my_file.txt (user root)
stat /mnt/sdcard/my_file.txt
Toybox’s main goal is to make Android self-hosting by improving Android’s command line utilities so it can build an installable Android Open Source Project image entirely from source under a stock Android system. After a talk at the 2013 Embedded Linux Conference explaining this plan (outline, video), Google merged toybox into AOSP and began shipping toybox in Android Mashmallow. (http://www.landley.net/toybox/about.html)
This script creates the directory: my_directory in SdCard and various files within it.
We can run it from the MITCOMPANION or Compiled.
Compiled: the block AssetsToCacheDir copies the file my_script.txt
from the assets to the cache directory of the same application, that is: /data/user/0/appinventor.ai_juan.shell_script/cachemy_script.txt
You would need to have redis-tools installed on the device to even try to connect to a redis server using redis-cli and this extension. You cannot, as far as I know, install redis-tools....
Sir, I already have a Redis server installed and it contains 7 ports. I have used the Cloud DB components and created all my apps. I want t to use the HSET, HGET commands of Redis as we don’t have in the Cloud DB component. So, I thought some how we have an option to release commands with this extension.