Cron job to copy and organize files

IN PROGRESS
Bids
22
Avg Bid (USD)
$119
Project Budget (USD)
$30 - $250

Project Description:
I need a cron job that will copy audio files stored on our Fonality phone server to our NAS and organize them in to the appropriate sub-folders.

Our phone server saves all recorded phone calls as wav files in: /var/spool/asterisk/monitor

The audio files are saved as user-XXX-details.wav

So there should be a config where I can match the user-number to the sub-folder that they should be copied to.

For example: user-221-15564982321.wav should be copied to the sub folder John Doe and the file user-222-354660165498.wav should be copied to the sub-folder Jack Smith.

The main folder is call_recordings on our NAS. I imagine that I will mount this as a NFS share.

I know almost zero about Linux so I will need step-by-step instructions on how to configure everything.

This cron job should run every Saturday morning and copy over all new files (skip files that already exist on the NAS - not sure if this will get slow as we get more and more files. Any recommendations here are welcome).

Finally, if it's possible to to convert the wav files to mp3 or ogg to save space before copying them over, that would be great. The original wav files in the monitor folder must not be edited though.

Hopefully this covers everything. If you have any questions please let me know.

Skills required:
Linux
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 65
in 0 days
$ 150
in 3 days
$ 100
in 0 days
$ 70
in 3 days
$ 40
in 1 days
Hire kj163
$ 100
in 4 days
Hire kirillshilov
$ 60
in 1 days
$ 100
in 5 days
$ 150
in 7 days
Hire wgfreelancer
$ 160
in 1 days