Project LID Homepage: Distributable Modules
Update 1/3/2020: Upgrade: allow user input on execution, see 'lcc:userInput'. Added keys 'lcc:replaceWithUserInputPrepend', 'lcc:replaceWithUserInputPostpend'.
Update 7/3/2019: Bug fix: lcc:fileExtension was case sensitive.
Update 1/15/2019: Upgraded: lcc:replaceWith, added flag [lccFlag:nothing] to replace with nothing (i.e. only delete what is found).
Update 11/27/2018: Upgraded: added special characters flags to lcc:find.
Update 8/1/2018: Upgraded: all keys can now be provided through the Logic File and/or the command line parameters.
Update 7/11/2018: Upgraded: output debug statement while running, instead of just in log at end.
Update 6/27/2018: Added key 'lcc:pathExclude'.
Update 6/6/2018: Added key 'lcc:replaceLinesWithoutCRLF ' and Flags to lcc:replaceWith.
Update 4/11/2017: Added key 'lcc:includeBOM'.
Update 4/4/2017: Bug fix: issue when using UNC (aka \\...) locations, fixed.
Update 11/10/2016: Upgraded: Add default lcc:logicPath value if none provided, allow 'no' Finds, good for just checking File name/attributes without opening them.
Update 9/23/2016: Upgraded: keys 'lcc:reportFilesValidEncoding', 'lcc:reportFilesMatchedFindEncoding', 'lcc:reportFilesValidModifiedDate', 'lcc:reportFilesMatchedFindModifiedDate' added.
Update 9/22/2016: Upgraded: keys 'lcc:targetFilePrePend', 'lcc:addLineNumbers' added.
Update 9/21/2016: Program released.
Command Line program created to find and possibly replace content in files. Can find parts of lines or multiple lines, and can replace parts of lines or multiple lines.
- Manual: lccFindReplace-manual.pdf
- Screenshot: screenshot1.jpg (showing Program Finished - Stats)
- Logic File Examples
- #1: Find Values, Without No Changes
lccFindReplace-logic1.txt (Example Logic File #1)
- #2 Find Values, Replace With Values, Save Changes, Make Backups With Current Date First
lccFindReplace-logic2.txt (Example Logic File #2)
- #3 Find Values, Replace With Values, Save Changes, Skip Backups
lccFindReplace-logic3.txt (Example Logic File #3)
- #4 Find Values and MultiLine Values, Replace With Values and Multiline Values, Save Changes, Skip Backups
lccFindReplace-logic4.txt (Example Logic File #4)
- #5 User supplied values on execution
lccFindReplace-logic5.txt (Example Logic File #5)
The programs, scripts and documentation are provided AS IS without warranty of any kind. Lower Columbia College further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the programs, scripts and documentation remains with you. In no event shall Lower Columbia College, its authors, or anyone else involved in the creation, production, or delivery of the programs, scripts or documentation be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the programs, scripts or documentation, even if Lower Columbia College has been advised of the possibility of such damages.