Title: Page 65 – Alex Kirk

---

 * 
   ## 󠀁[Good Reads](https://alex.kirk.at/2018/08/12/good-reads/)󠁿
   
 * August 12, 2018
 * When recently I recommended a few books to a collegue, I realized that this could
   be more easily done on Good Reads, so I have [now set up an account](https://www.goodreads.com/review/list/85185810)
   which lists a few of the books I liked when I read them in the recent years.
 * So far I have mainly populated the list with the [aviation](https://www.goodreads.com/review/list/85185810?shelf=aviation)
   and [sci-fi](https://www.goodreads.com/review/list/85185810?shelf=sci-fi) literature
   I like to read. I haven’t been reading fiction that much recently but there is
   a bunch of books that I should add in that area.
 * 
   ###### Fediverse Reactions
   
    -  [ ⌊Thiago Skárnio⌉ ](https://social.alquimidia.org/@skarnio)
 *  -  [ ⌊Thiago Skárnio⌉ ](https://social.alquimidia.org/@skarnio)
 * [Web](https://alex.kirk.at/category/web/)
 * 
   ## 󠀁[Fixing WhatsApp image dates after Android Migration](https://alex.kirk.at/2018/01/06/fixing-whatsapp-image-dates-after-android-migration/)󠁿
   
 * January 6, 2018
 * Recently I've had the issue to have a completely unsorted Photo Library in Android
   after migrating to a new phone. The reason is that WhatsApp images are copied
   into internal storage and end up with the last modification date when they were
   copied, thus conglomerating together when they should be spread out over time.
 * The problem is not that trivially to solve because you cannot mount internal 
   storage into a computer and then modify the file dates. Thankfully, I was still
   able to create a viable solution using a bash script.
 * It all revolves around the Android Terminal Emulator [Termux](https://termux.com)
   which allows you to execute scripts on your phone.
    1. Install [ Termux ](https://play.google.com/store/apps/details?id=com.termux).
    2. [Grant Termux access to your storage directories](https://termux.com/storage.html).
    3. Install core tools apt install coreutils
    4. Copy this script into your file tree (for example via [Android File Transfer](https://www.android.com/filetransfer/)):
 *     ```wp-block-code
       for f in IMG-20* VID-20* AUD-20*; do
           [ -e "$f" ] || continue
           NEWDATE=`echo $f | cut -c5-8`-`echo $f | cut -c9-10`-`echo $f | cut -c10-11`
           echo touch -d $NEWDATE "$f"
           touch -d $NEWDATE "$f"
       done
       ```
   
    5. Run the script in the directories you need to fix file dates (for example in/
       storage/emulated/0/WhatsApp/Media/WhatsApp Images)
    6. Delete the data of MediaStorage (and maybe reboot) to make Android re-index 
       the files with the new file dates.
 * [Web](https://alex.kirk.at/category/web/)

 [Previous Page](https://alex.kirk.at/page/64/?output_format=md&term_id=44049) [Next Page](https://alex.kirk.at/page/66/?output_format=md&term_id=44049)