![]() ![]() Or maybe I'm just being stubborn and grumpy again. At the moment CVS is just looking like an obstacle that I don't particularly care to jump over. The Regex Renamer looks like an interesting project, and it's in C#, so it's something I might be interested in, once/if I get over the PITA of CVS. That might have been the problem (but probably isn't as most things with Windows Explorer manage things ok without a reboot). ![]() I'll probably try again the next time I reboot though. Username? Where do I get that? There is no obvious information on it. But it returns a string concantenated with original string separated by two '. CVS looks pretty much 100% non-intuitive and I couldn't find any information on how to get it working properly in the docs. Im just trying to get it to return the year part using a simple regex pattern. I'm pretty lazy with some things and thouroughly subscribe to the "Don't make me think" line of thought. I like the 'treat me like an idiot approach' of: It requires a reboot (didn't bother with that yet), help has no examples, grating shattered glass sound effects when something fails (which really makes me want to abandon it entirely). fixed bug where all shortcuts in a folder had the same icon made filelist columns non-resizable (to avoid buggy behaviour when expanded > window size) NET ListView bug with horizontal scrollbar appearing in filelist added option to remember window size & position added disable splash screen checkbox to about dialog made regex fields resizable, reduced overall minimum app size fixed bug where validation wasn't detecting conflicts when renaming a file to a folders name fixed preview validation bug where under certain conditions there was an exponential slow-down help menu-items are now disabled when help files are not installed added warning if any files new name begins with a space or dot added more extensive preview filename validation (also done during single rename) original filename is now shown instead of blank preview (ui change only, same functionality) change case menu is now highlighted when an option is selected (same as move/copy menu) numbering increment can now be negative (resulting number must still be positive) added "reset every x files" numbering option added shift-rightclick context menus to match/replace/filter fields to insert regex elements added cancel button during rename operation fixed a couple of minor filter validation bugs, cleaned up behaviour of filter controls added exclude toggle button to filter (allow filtering out files that match) moved option checkboxes to menu, relocated help menu added manual path entry (inc support for network paths), with browse network button Is there any way to do this using the Field Renamer or do I need to just use a Jython/Groovy/etc.- added feature to move/copy/backup matched files to another folder (with or without renaming) This also gives me an illegalargumentexception. ![]() Oracle's regular expression documentation isn't any help (as referenced in the StreamSets docs.) I've gotten similar things to work in sed but can't seem to figure out the syntax on how to do backreference replacements. This gives me error messages about ": Invalid Fieldpath." I tried a couple of different options to work around this but can't find a solution.ġ. The files will be displayed in the file list. Step 1: In RegexRenamer, browse to the folder containing the files. I was hoping to use regexes to say basically "take any incoming field and rename it to be all-lowercase." Using RegexRenamer we can easily change these into something more descriptive and apply a sensible numbering scheme. I can do this manually for each field in the Field Renamer but it's a bit clunky and error-prone. I am trying to rename fields with the Field Renamer processor using regexes but getting a bit stuck.īecause of case sensitivity using a JDBC Producer target I need to force all incoming fields from a delimited file to be lowercase. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |