项目作者: orexcap
项目描述 :
Photo and Video Files Sorter
高级语言: C#
项目地址: git://github.com/orexcap/sorter.git
Photo and Video Sorter
Sort and move your Photos and Videos to a target directory based on media’s create or modified date.
- Organize your media in /TARGET_LIBRARY/yyyy/MM/yyyyMMdd/FILEFORMAT/ structure
- Checks if duplicate photos / videos in your target directory
- Review the sort operation thru yyyyMMddhhmmss-SORTER.log file report
- Runs on Windows / Mac / Raspbian with .NET 8.0 installed
Sample (Windows)
Source folder :
- D:\DCIM\103___03\IMG_0887.JPG <-- Created on March 31, 2020
- D:\DCIM\103___04\IMG_0888.JPG <-- Created on April 1, 2020
- D:\DCIM\103___04\IMG_0889.JPG <-- Created on April 2, 2020
- D:\DCIM\103___04\IMG_0889.CR3 <-- Created on April 2, 2020
Photos will be sorted in your target folder as :
- X:\PHOTOS_LIBRARY\2020\03\20200331\JPG\IMG_0887.JPG
- X:\PHOTOS_LIBRARY\2020\04\20200401\JPG\IMG_0888.JPG
- X:\PHOTOS_LIBRARY\2020\04\20200402\JPG\IMG_0889.JPG
- X:\PHOTOS_LIBRARY\2020\04\20200402\CR3\IMG_0889.CR3
Installation (Windows)
- Install .NET 8.0 in your system
- Download or clone (git clone https://github.com/orexcap/sorter.git) SORTER
- Go to your /sorter/SORTER/ directory (E.g. C:\Users\Joseph\Desktop\sorter\SORTER )
- Run the application for the first time to generate your Sorter.Config.json file
- sorter\SORTER\>dotnet run
- Configure Sorter.Config.json
- {
- "SourceFolderPath":"D:\DCIM",
- "PhotosFileExtensions":"jpg,jpeg,cr2,cr3,png,gif,heif",
- "VideosFileExtensions":"mp4,mov,avi,mkv",
- "PhotosDestinationFolderPath":"X:\\",
- "VideosDestinationFolderPath":"Y:\\"
- }
- Run the application again to begin sorting!
- sorter\SORTER\>dotnet run
File Structure
On your target folders the following files and folder will be created:
FileList.json - Index / list of files in your target folder. Used by the application to check if the file already exists in target folder.
- X:\PHOTOS_LIBRARY\FileList.json
Reports\yyyyMMddhhmmss-SORTER.log
- X:\PHOTOS_LIBRARY\Reports\20200401010000-SORTER.log