Created
May 20, 2017 14:24
-
-
Save Rob117/39dde22d41411c255fa6bbcedab92ac9 to your computer and use it in GitHub Desktop.
Convert files in directories into aggregated pdfs
This file contains 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
Dir['*'].each do |d| | |
Dir.chdir(d){`convert * #{d}.pdf`} if File.directory? d | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment