Find Jobs
Hire Freelancers

Batch file to sort files based on file name to network drive

$30-250 USD

Cerrado
Publicado hace alrededor de 12 años

$30-250 USD

Pagado a la entrega
I know this can be done, but i dont have the time or the expertise for this project. I have read tutorials here for different situations; [login to view URL] [login to view URL] Here are my files: temp1\_For P Drive\[login to view URL] <-this is where the file will be located temp1\_For P Drive\folder1\6228 AD [login to view URL] temp1\_For P Drive\folder1\10711 [login to view URL] temp1\_For P Drive\folder1\WO# 10800 [login to view URL] temp1\_For P Drive\folder1\10778 [login to view URL] temp1\_For P Drive\folder2\6800 [login to view URL] And so on... (7 Folders with pdfs only) this is a simplified version of what the folders are actually named, if needed i can give you that info also. The batch file should start with folder 1, and *attempt* to decide the folder it should go in. Each and every file will begin with a job number. It will either be 4 or 5 numbers. Sometimes it will have WO in front of it, sometime WO# and sometimes WO #, i have tried to persuade our data entry people to keep it uniform, but there may be instances where this can still happen. The files all need to be moved into their respective job folders. This, currently, is a very time consuming task. As the path could be very long, for example, P:\CURRENT JOBS\6789 - XXXXXXXXXXXXXXXXXXXXXXXXXX\Production Documents\Assemblies\PDF's\, where "XXXXX" is mostly text, but may also include commas, dashes, and underscores. However, the first 4 of the folder name are *always* going to be the job number, and this is all the information we should need. For the 5 digit jobs, the folder will *always* start with WO# followed immediately by the number (i.e. WO#10800 - XXXXXXXXXXXXXXX). There is one special case where the subfolder inside the folder actually contains the job number as well. (i.e. P:\CURRENT JOBS\6786 - XXXXXXXXXXXXXXXXXXXXXXXXXX\Production Documents\6786 In Shop Archive\Scope Reports\) I know this is redundant, and unnecessary, but this is how the file system is structured for thousands of jobs. Currently, there are 7 different folders which this batch file should process files in, and they each have a separate path for the file to be moved to the network drive. If possible, since these files are extremely important, can we also set up error checking before the original file gets deleted, as well as any special character detection that the batch file can't handle (this is ok and understood as some files may have to be done manually) It would be preferred to have a readout at the end of the program to let the user know which files couldnt be moved, if any. And/or if everything went smoothly and/or if there were any errors. Please let me know if all of this is possible, i think it is, i have programmed small batch files to aid in productivity, but this one is too large for me to handle. Thanks everyone for your time.
ID del proyecto: 1492489

Información sobre el proyecto

2 propuestas
Proyecto remoto
Activo hace 12 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
2 freelancers están ofertando un promedio de $175 USD por este trabajo
Avatar del usuario
I propose completing your project by using the scripting tool Perl. This tool is ideally suited for recognizing patterns in names. My approach would be as follows: 1)Build a list of all PDF file names in the source folders 2) Extract job numbers from the filenames 3) build a list of the names of all destination folders 4)iterate through the list of PDF files and determine if the destination folder exists. If the folder does not exist, write a message to the error log. 5) check the destination folder to determine if the file to be moved already exists there. If it already exists, write a message to the error log. 6) otherwise, move each pdf file to the appropriate destination folder. I will complete this project for $100 in one day. The deliverable will be a batch file which will be able to run on your PC.
$100 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hello you can have bat, but more flexible is to increase money to $300 and have form to work with.
$250 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Bakersfield, United States
0,0
0
Forma de pago verificada
Miembro desde oct 25, 2011

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.