[TxMt] Re: How can I save 100+ files with a different encoding format?
karibu at gmx.net
Mon Jan 11 19:42:56 UTC 2016
> On 11 Jan 2016, at 6:52 PM, J Galt <jgaltusa at gmail.com> wrote:
> I removed the dollar sign and it appears to execute the first part but nothing happens on the second part where it is saving to the destination directory.
I'm not sure what goes wrong for you. I just tried it again and it does the job fine for me. I'm using OS X 10.10.5 (Yosemite) with default "find" and "iconv" commands by Apple.
Example Terminal "session" for reference: https://pastebin.com/BpSRGpCM
(empty lines added between the commands for readability)
Perhaps someone else can provide a smarter solution or a ready-to-use script for the purpose. It's just that for me "find" with "-exec[dir]" is the first thing that comes to mind in regards to batch processing of files. The same goes for "iconv" and charset conversion. :-)
Sorry, that I can't be of more help.
More information about the textmate