Find Jobs
Hire Freelancers

Write a file replacement powershell or batch script to replace undesirable files with a boilerplate file

$30-250 AUD

Terminado
Publicado hace casi 5 años

$30-250 AUD

Pagado a la entrega
I need someone that can write a PowerShell script (or even a bat script would probably be fine) that will recursively search through a directory tree of documents looking for files of 0 byte (they are corrupt files) and replace them with a small text file. The replacement file needs to be assigned the name as the file that was found and it needs to kept in the same location. For example (as per the attached sketch), you start the search from c:\files which contains multiple subfolders one of which might be called August which also has multiple subfolders one of which might be called 3rd and within this subfolder there is a zero byte file called 034323.1, this file needs to be replaced with a predetermined text file that gets copied into the 3rd folder and given the same name of 034323.1. The script then moves on through the rest of the directory structure taking exactly the same approach with any other zero byte file encountered but ignoring/leaving every file that has a size greater than zero. The basic functionality would be: 1. specify the starting location 2. specify the file that will be the 'boiler plate file' 3. write a log that includes every file touched/replaced and where it was found 4. preferably have the ability to include a date element which provides a mechanism to say 'update all files that were created before <this date> and are zero bytes'.
ID del proyecto: 19954016

Información sobre el proyecto

6 propuestas
Proyecto remoto
Activo hace 5 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi I'm Microsoft MCSA certified professional with extensive PowerShell expertise and experience in similar projects. I can provide the required script to replace corrupt files with "Boiler Plate file" depending on specified criteria and verbose logging.
$70 AUD en 2 días
5,0 (15 comentarios)
3,8
3,8
6 freelancers están ofertando un promedio de $150 AUD por este trabajo
Avatar del usuario
Hi, I have over six years experience automating tasks with Powershell, I can do this job. Please see my work history for relevant feedback.
$211 AUD en 3 días
5,0 (21 comentarios)
4,7
4,7
Avatar del usuario
I am good in powershell, batch scripting along with automation and development please let me know if you are good to award this project to me
$199 AUD en 3 días
5,0 (9 comentarios)
3,9
3,9
Avatar del usuario
hey I'm Romain, a French Microsoft certified guy I already wrote a lot of powershell scripts (you can have a look to my reviews) please contact me for more informations best regards, Romain
$66 AUD en 2 días
5,0 (7 comentarios)
3,5
3,5
Avatar del usuario
Hi, I have 14 years experience in infrastructure administration ( windows and Unix) ,past 8 years developer multiple infra automation scripts using Powershell, PowerCLI and vbs . I gone through your requirement, we can achieve using simple Powershell script. I believe we can develop the script in 4 -6 hours max. you can pay me after I complete project ( will share the video for a proof).
$111 AUD en 1 día
4,8 (1 comentario)
1,2
1,2
Avatar del usuario
I would be able to create a batch script that will do a recursive search for an empty file and if found will create a new text file. Looking forward to hear from you. regards sourabh Khadiwala
$240 AUD en 5 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de AUSTRALIA
PARADISE POINT, Australia
0,0
0
Forma de pago verificada
Miembro desde jun 11, 2019

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.