Cron job to copy and organize files
This project was successfully completed by whitesmokevw for $100 USD in 5 days.Get free quotes for a project like this
Project Budget$30 - $250 USD
Completed In5 days
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 [url removed, login to view]
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: [url removed, login to view] should be copied to the sub folder John Doe and the file [url removed, login to view] 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.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online