logo
  • Start here
  • Episodes
  • Articles
  • Log in
  • Sign up

The Image Snatcher

Topics:
Solutions
Dev Tools
Command line
IO
File

This is the solution to the challenge from the end of lesson 3.

It's a command line utility that finds the image files in the current directory, creates a sub-directory for images and moves them all there. It uses several functions from the File module.

Share

Request a free email course
Back to index

1 Comment

Log in to leave a comment

Thanks for File.rename ! I used File.cpand File.rm in my version...

- jtoulouse ยท 1 day ago
Alchemist Camp 2017-2020
Hosted on Digital Ocean
Terms and Conditions