Unix script to consolidate files based on creation date
$10-30 USD
Abgeschlossen
Veröffentlicht vor mehr als 1 Jahr
$10-30 USD
Bezahlt bei Lieferung
I have a folder with 10,000 images in it. The folder has become unmanageable. I need a script to move the images into nested folders so they are more mangeable.
Ideally, the script would copy each image and place it in a separate directory. The image should be placed in a folder based on the image file's month/year creation date (the column called Date Added on a Mac). The file's created year should be the parent folder and then each month (designated by a number 01-12) is the child folder. Files that can be categorized should be put in their own folder labeled "Error" or something like that.
For example, if I have 3 images in /images:
Filename: [login to view URL], Date Added: Mar 11, 2019 at 12:18am
Filename: [login to view URL], Date Added: Nov 14, 2022 at 8:04pm,
Filename: [login to view URL], Date Added: Nov 27, 2022 at 2:19pm,
I would want to run a shell script that creates the following directory:
Folder: /2019/03 with [login to view URL], Date Added: Mar 11, 2019 at 12:18am
Folder: /2022/11 with [login to view URL], Date Added: Nov 14, 2022 at 8:04pm,
[login to view URL], Date Added: Nov 27, 2022 at 2:19pm,
I work on a Mac so a shell script would work but please educate me on what I need. I know almost nothing about shell scripts.
Hi Mr, I have done linux/unis scripts for file rotation, delete, and copy to other directories or servers; Im sure I can help you with this.
Kind regards.
$30 USD in 7 Tagen
4,9 (2 Bewertungen)
3,9
3,9
8 Freelancer bieten im Durchschnitt $34 USD für diesen Auftrag
Hello. I've read your project description about creating a bash script to organize your image folder structure as /YYYY/MM.
I am a system administrator & full-stack developer with a full +10 years of experience. Please check my profile to find similar projects I've successfully completed with a perfect score.
Please do not hesitate to contact me to discuss further details.
I'm looking forward to working with you!
i have experience about 3 years as a system administrator. I'm red hat system administrator certified. daily basis set-up node on AWS with public and private vps on the project requirements. good experience in monitoring tool garafan.
Hello,
I am also MacOS user and I can develop this script for you. It can be in bash or powershell, whatever you choose.
I'll give you then a short background what the script is doing in every line.
About me - I am currently holding AWS engineer role in my company and I am focused on automatic things in our infrastructure using different scripts. Recently I also held a PowerShell workshops for my coworkers.
Looking for a message from you!
Marcin
Hello,
I have carefully read the details of the project and understand the requirements. I can write a Bash script for you and include thorough comments to explain each line of code.
Best Regards