-Directory and -TestName together

Started by borekl, November 16, 2014, 08:36:17 AM

Previous topic - Next topic

borekl

-TestName tag is supposed to be used for "dry runs", where nothing is really done. Well, if you use -Directory tag at the same time, the moving will actually take place (though filenames themselves won't be changed). Is that the intended behaviour? It'd be much nicer if it just printed what it's moving where...

Phil Harvey

Yes, this is the intended behaviour.  TestName is independent of the other tags.  You can test the directory at the same time if you want -- TestName supports a directory specification, just like writing FileName.  Perhaps I should make this more clear in the file renaming documentation.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).