This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
THUMB_ROOT=~/.cache/shotwell/thumbs | |
MAX_PROCESSES=4 | |
i=0 | |
sqlite3 ~/.local/share/shotwell/data/photo.db \ | |
"select id||' '||filename from PhotoTable order by exposure_time desc" | | |
while read id filename; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Credits to: | |
# - http://vstone.eu/reducing-vagrant-box-size/ | |
# - https://github.com/mitchellh/vagrant/issues/343 | |
# - https://gist.github.com/adrienbrault/3775253 | |
# Unmount project | |
umount /vagrant |