
Next I select in the left pannel all pictures with date and drag them to my new folder. Then I make active the media folder of a connected external haddisk in the right pannel push f7 te create a new folder enter the date of the latest picturs in the create folder field and create a folder 180509. find the folder on the sd card in the left pannel from Freecommander and look for the date of the latest pictures. The files are stored chronologic with some specifics added: 180509 Amsterdam IJ flying swans. For years I'am using FreeCommander and Irfanview on Windows (7 - 10) almost daily for dumping pictures from my camera's memory cards to external haddisks. Cannot create a file when that file already exists. It pops an error on the DirectoryInfo.move (not FileInfo.move, weird because error says file) saying:Īn exception of type 'System.IO.IOException'. If (SelectedTest.Name = ThisFile.Name) // checkįile.Move(SelectedTest.Name, NewName) // rename If(SelectedTest.Name = TestFolder.Name) // check it it's what we want to renameĭirectory.Move(TestFolder.FullName, (SelectedTest.Name, NewName)) // rename itįileInfo AllFiles = location.GetFiles() // get all files in that locationįoreach (var ThisFile in AllFiles) // for every file in that location I am using this code to rename: DirectoryInfo MainSessionFolder = new DirectoryInfo(FileStructure.CurrentSessionPath) // Main Session FolderĭirectoryInfo locations = MainSessionFolder.GetDirectories() // Get all locationsįoreach(var location in locations) // for every locationĭirectoryInfo TestFolders = location.GetDirectories() // get test folders in that locationįoreach (var TestFolder in TestFolders) // for every test folder So Images "one", "two", "three" will have folders "one", "two", "three" together in the same directory (location). Also, Every Image has a related folder named the same as that image. Session -> Location(s) -> Test(s) + ImagesĪll locations have the same Tests and renaming one must rename all. My Folder tree structure looks similar to this: Folder -> Folder(s) -> Folder(s) + ImageFile(s) So I am re writing a routine to rename stuff.
