Find Jobs
Hire Freelancers

BASH script to find and move files based on wildcards in a list.

$30-250 USD

Berlangsung
Dibuat sekitar 10 tahun yang lalu

$30-250 USD

Dibayar ketika dikirim
I would like a script that runs on a cronjob that looks for and moves files if they contain "search terms" to directories that match the search term. So, I assume there will be two files for this: [login to view URL] [login to view URL] (a plain text list of search terms--one numeric entry per line) The directory for the beginning of the search will be " /var/lib/asterisk/monitor " and for each search term, the variable will look like " 48805 ". The search should look for files via this wildcard assembly " *-48805-* " (note the added hyphens before and after the number) and the file should be moved to " /recordings_qa/48805/[yyyy]/[mm]/[dd]/[original-files-name]-48805-[[login to view URL]] " (the date info for the folder structure should be retrieved from the file name itself which will contain " -yyyymmdd- "). If the search terms does not have a directory yet, it should be auto created when the script runs. So, to be more clear... here are the steps: A cronjob calls the script /[login to view URL] every 10 minutes The script looks into the [login to view URL] file to load a list of extension numbers for "finding", i.e.,: 48805 48901 48607 49001 And for each of those numbers, a separate find/move operation is performed. Files are sought in /var/lib/asterisk/monitor/* and will look something like this: /var/lib/asterisk/monitor/[login to view URL] Because this example matches the search (" *-48805-* "), it will be moved into: /recordings_qa/48805/2014/04/16/[login to view URL] Once all the "48805" entries are found and moved, then it goes to the next number in the text file list.
ID Proyek: 5814958

Tentang proyek

8 proposal
Proyek remot
Aktif 10 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
8 freelancer menawar dengan rata-rata $105 USD untuk pekerjaan ini
Avatar Pengguna
Please Send a message to talk about details .... We are a group of engineers from various areas with over 15 years of experience solving critical problems in the area of database management systems, electronics and Python-C++-mt4 programming, as well as also specialists in the design and maintenance of websites, networks and all kinds of servers. We will be glad to help you with this project for a reasonable price, a good rate and a nice comment, we understand that we are at a disadvantage becouse we have not reputation on this site, this is why we give you a promotional price until climbing positions, by the way, if you send us a private message we can evaluate better your project details. We appreciate your concidere, we always looking for the solution, G.B. IT Manager
$70 USD dalam 1 hari
4,9 (5 ulasan)
7,0
7,0
Avatar Pengguna
A proposal has not yet been provided
$123 USD dalam 1 hari
5,0 (3 ulasan)
6,3
6,3
Avatar Pengguna
Hello, I have written many shell and bash utility scripts. I can get this done in a day. Thanks, Shweta
$100 USD dalam 1 hari
5,0 (61 ulasan)
5,6
5,6
Avatar Pengguna
Hi. It look quite obvious. I can provide you with a beautiful bash script with comments for the specification you defined. Best Regards.
$72 USD dalam 3 hari
5,0 (3 ulasan)
2,9
2,9
Avatar Pengguna
Hello, interested in your project. I am an experienced linux admnistrator and bash/php scripter. Ready to start.
$66 USD dalam 1 hari
0,0 (1 ulasan)
0,0
0,0
Avatar Pengguna
Hi: I' am an experienced bash script writer, i can provide you the required script in 30-45 minutes maximum. Pay me after you test it completely on your end
$50 USD dalam 0 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera UNITED STATES
North Chesterfield, United States
5,0
29
Memverifikasi Metode pembayaran
Anggota sejak Okt 6, 2009

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.