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
-- Remove Duplicate Message v2.1 | |
-- An Applescript based on code by Barry Wainwright, 15th October 2010 | |
-- Detects and deletes duplicate messages within a selected folder | |
-- works on Message-ID header - uniquely identifying duplicates | |
-- Version History | |
-- v1.0 - 2002-03-18: First Release (For Microsoft Entourage) | |
-- v2.0 - 2010-10-07: modified to work with Microsoft Outlook for Mac | |
-- v2.1 - 2010-10-15: added final dialog to summarise messages removed | |
-- v2.2 - 2019-10-05: Added progress bar. (Sam Price) |
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
const fs = require('fs'); | |
const Converter = require('./converter.js'); | |
const options = { | |
name: process.argv[3], | |
description: process.argv[4], | |
activate: process.argv[5], | |
}; | |
const converter = new Converter(JSON.parse(fs.readFileSync(process.argv[2])), options); |