Due to me using Windows mostly I have no issues not using a multi-platform language for this. I had it doing a copy not a move, but the options array was causing issues with that for some reason.įor more granular control of file and folder manipulation, I'm moving the rest of my development of this project to C#. Their ending folder would exist but it would say it failed, but would still delete the file in the originating directory. It would find most files and strip them fine, only some would fail, but the biggest issue was the moving of the files. It's in the second program where the issue lives. The files would then be moved from the directory into the folder structure and delete the original. It would recursively look through the directory to pull the names of files to be stripped by regex and renamed. Via CLI I could choose directory to pull the new files from or enter in a directory manually. The second program is what did the heavy lifting. First program creates and updates a folder structure off of a text file named comics2add.txt, create the folders and add the list of names to a master text file comic list.txt. It does the job but it has a high failure rate. It's a 2 program setup, and very clumsy I might add. So I decided to write a program to create the folder structure, strip the names of useless characters, and sort them into folders based on their Comic's name. Sure I use Comicrack to keep them "organized" but it didn't help the behind the scenes. I would have dozens upon dozens of comics sitting in the download folder. I recently got into reading comics and had a bit of an issue. This is just one of my many side projects that I have started.
I want to familiarize myself with how to use it before I jump into a real-world project. I decided to start using it as a learning experience.
I'll gladly accept any pull requests for anything I have overlooked, having issues on, or a better way of doing something (especially the Java code).