Support with creating Linux shell scripts to maintain duplicate files


I'm looking for two Linux shell scripts, to maintain duplicated media/binary files (audio/video/program) on a Synology NAS.

Script one:

For making a file compare between two directories, and create links in case of duplicates:

- Compare files between two locations (A and B), based on filename/date and file content.

- Files in location A can be in various directories, and are considered original files.

- Files in location B are in a directory (with possible subdirectories) and could be a copy of the file in location A.

- Files in location B could have a different name then similar files (based on content) in location A.

- In case the script finds a duplicate between B and A, it should:

- 1) Create a link in the directory of location B to the file in location A

- 2) The link could be either softlink or hardlink (configurable with parameter)

- 3) The link name will be similar to the filename in location A, though could have a prefix in the name (configurable with parameter, eg. link_filename)

- 4) The link should have the same date/time as the file being linked to in location A

- 5) After creating the link, the (duplicate) file in location B should be moved to a subdirectory within location B (eg. old)

Script two:

For listing an overview of all files in specific directory, with following options:

1) List all files within a directory (incl. subdirectories)

2) List all non-symlink files within a directory (incl. subdirectories)

3) List all symlink files within a directory (incl. subdirectories), include type of link (softlink/hardlink) and link location

4) Create CSV export of the listing

The listing should contain: full directory name, filename, owner, size, date, type (file, softlink, hardlink) and link location.

NB. The scripts should be created and tested on system of freelancer/developer, once done testing will be discussed with and performed by requester on the NAS.

Навыки: Linux, Shell Script, Bash Scripting

Показать больше: name shell scripts used companys production support, sample shell scripts production support, scripts maintain linux system, linux shell scripts find delete string, production support shell scripts, linux scripts delete remove files, linux shell script find last hours files, shell scripts delete lines files, linux automation authnticate shell scripts, linux automation shell scripts, unix shell scripts log files, shell scripts job linux, linux zip duplicate files, linux shell scripts development, creating excel files shell scripts, linux shell script copy files, linux shell scripts, i m looking for an editor on a freelance basis the work will mainly consist of editing or creating showreels final cut adobe pre, useful shell scripts for linux, what are linux shell scripts

О работодателе:
( 3 отзыв(-а, -ов) ) Rotterdam, Netherlands

ID проекта: #30810463


(14 отзывов(-а))

5 фрилансеров(-а) готовы выполнить эту работу в среднем за €33


Have worked with shell and servers for many years. Can help you with shell script. let me know.

€30 EUR за 1 день
(260 отзывов(-а))

Hey there, I have been working with Linux/Unix-like systems for years. I had developed tons of Shell scripts. I can help. Regards!

€30 EUR за 7 дней(-я)
(43 отзывов(-а))

I can do it.....................................................................................................

€40 EUR за 2 дней(-я)
(36 отзывов(-а))

Greetings, Thank you for providing requirements' details. I've understood the instructions clearly and will create Linux scripts that will perform operations exactly as required. Both scripts will accept param Больше

€28 EUR за 1 день
(2 отзывов(-а))