Batch rename all files in a folder to lower case
Here is the snippet ready to use in terminal: for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done
Here is the snippet ready to use in terminal: for f in *; do mv "$f" "$f.tmp"; mv "$f.tmp" "`echo $f | tr "[:upper:]" "[:lower:]"`"; done
Recently I had to compare two versions of the app. I had Huawei and Samsung devices. Instead do it manually I made some research and I created script for that:…
Here is the batch script: @echo off for %%i in (*.mp4) do ( ffmpeg.exe -i "%%i" "%%i".gif move "%%i".gif gif move "%%i" mp4 )
Here is the batch script: @echo off for /r %%i in (*.apk) do ( echo "Installing %%i"; adb install -r "%%i" ) Or you can just download it.
for %%f in (*.m4a) do ( Â ffmpeg -i "%%f" -acodec libmp3lame -ab 320k "%%f.mp3" )
for %%f in (*.m4a) do ( ffmpeg -loop 1 -i bear.jpg -i "%%f" -c:a aac -c:v libx264 -crf 0 -preset veryfast -shortest "video-%%f.mp4" )
All what we need is to make few steps: Add in our project this line to output in log current path to database Log.d(TAG, "onCreate db: " + context.getDatabasePath("mydatabase.db")); Create…