Ben Cotton

5063 points
User profile image.
Lafayette, Indiana

Ben Cotton is a meteorologist by training, but weather makes a great hobby. Ben works as the Fedora Program Manager at Red Hat. He is the author of Program Management for Open Source Projects. Find him on Twitter (@FunnelFiasco) or at FunnelFiasco.com.

Authored Comments

Earnest, it's a convenience program I wrote to simplify copying files from MTP devices to a local directory. I run it from my desktop with the phone connected via USB. You can see it at https://github.com/funnelfiasco/mtppics

Great article, Don! One fun date trick I use in my script to pull last month's pictures off my phone:

CURRENT_DATE="$(date +%Y-%m-15) -1 month"
YYYYMM=$(date --date="${CURRENT_DATE}" +%Y%m)

It's pretty incredible what you can do with the date command by giving the right formatting arguments.