Help talk:Ripping files
Jump to navigation
Jump to search
Faster way to compress[edit source]
Run once this:
apt install tsu tsu cp /storage/emulated/legacy/Download/script.sh /data/data/com.termux/files/home
Then, each time you want to compress just type:
tsu sh script.sh
Tested and working on a Xiaomi Redmi 4X device. DioJoestar (talk) 23:53, 8 April 2018 (UTC)
Organizing in Linux OS[edit source]
Execute as sh file from the terminal.
#!/bin/bash folder="/tmp/jojoss/" OUTPUTDIR="/home/diojoestar/Escritorio/JoJoSS/PNG/" OUTPUTDIR_OGG="/home/diojoestar/Escritorio/JoJoSS/OGG/" mkdir $folder clear for F in *.tar.gz; do tar -zxvf $F -C $folder; done echo Moving files... find $folder -type f -name '*.png' -exec mv {} $OUTPUTDIR \; find $folder -type f -name '*.ogg' -exec mv {} $OUTPUTDIR_OGG \; rm -r /tmp/jojoss/; rm *.tar.gz echo Done!
Tested on Ubuntu 18.04 LTS. DioJoestar (talk) 21:28, 26 July 2018 (UTC)
Removed WinRAR command[edit source]
Since Windows 10 includes tar in the command-line I replaced the line of the script that used Winrar for decompress the files:
start /w winrar x -inul -o+ -r %%A *.png *.ogg -d %folder%
Replaced with:
tar -xvzf %%A -C %folder%
DioJoestar (talk) 00:26, 25 October 2020 (UTC)