Find Jobs
Hire Freelancers

Powershell Script to Remove Duplicate File/Folder Versions

$10-50 USD

Terminado
Publicado hace alrededor de 4 años

$10-50 USD

Pagado a la entrega
I have a folder with thousands of sub-folders and documents. I need a script (Powershell or Visual Basic - I prefer PS) that I can run that will traverse the files/folders and rename any duplicate named files and/or folders while not changing the file name for the latest version. If you are good at PowerShell, this should be a fairly simple project for you to complete quickly and to get a 5 star rating from me. If there are duplicate file or directory names (they will always have the literal '_Version_' in their name. Any document or folder that does not have that literal should not be touched for any reason. There script will need to traverse through the entire directory tree (it can have many subfolders). For instance, here is a sample directory with 6 files. \Folder\subFolder\[login to view URL] \Folder\subFolder\[login to view URL] \Folder\subFolder\[login to view URL] \Folder\subFolder\[login to view URL] \Folder\subFolder\[login to view URL] \Folder\subFolder\[login to view URL] After the PS script is run, notice how the first 3 versions of the file have '_DELETEME' appended to their name while Version 4 (the latest version) file name did not change? \Folder\subFolder\[login to view URL] \Folder\subFolder\[login to view URL] \Folder\subFolder\[login to view URL] \Folder\subFolder\[login to view URL] \Folder\subFolder\[login to view URL] \Folder\subFolder\[login to view URL] The above example shows a folder that has duplicate file names, but the same applies to folder names. (Yes, the file names have a .pdf in their names, that should not affect anything but I wanted to point that out.) \Folder\subFolder\subFolder2\jdox_ax15326 XYZ [login to view URL]\ \Folder\subFolder\subFolder2\jdox_ax15326 XYZ [login to view URL]\ \Folder\subFolder\subFolder2\jdox_ax15326 XYZ [login to view URL]\ After the script is run, these directories would look like this: \Folder\subFolder\subFolder2\jdox_ax15326 XYZ Memo_Version_1.pdf_DELETEME\ \Folder\subFolder\subFolder2\jdox_ax15326 XYZ Memo_Version_2.pdf_DELETEME\ \Folder\subFolder\subFolder2\jdox_ax15326 XYZ [login to view URL]\ Notice that '_DELETEME' was appended to the first 2 folder names and the the third (latest) folder name was untouched. If you have the experience and can do this quickly, please respond. I will send the recipient a sample directory structure to validate that the script works as it should.
ID del proyecto: 24071955

Información sobre el proyecto

13 propuestas
Proyecto remoto
Activo hace 4 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. You described your task very cleverly, thanks. At first it seems that simple Get-ChildItem with -Recurse parameter is exactly what is needed but renaming directories adding a little nuance in my opinion (if we change directory name inside Get-ChildItem how does it impact its inner state, taking into account that we need to enter this directory later? :) ). So, I believe that here we need to have 2-stage traverse: at first stage we need to rename files then run second stage and rename all directories. It will be also a good idea to add some logging mechanism (like Log4Net which can be easily used in Powershell) that will help to check what happened with files and directories. Anyway, feel free to ask any questions...
$50 USD en 7 días
5,0 (6 comentarios)
3,0
3,0
13 freelancers están ofertando un promedio de $48 USD por este trabajo
Avatar del usuario
Hello, I can help you with your project - Powershell Script to Remove Duplicate File/Folder Versions I have gone through your job posting and become very much interested to work with you. I am an expert in this field. I have already completed several projects like this. For evidence you can see my profile. Please visit : https://www.freelancer.com/u/schoudhary1553 I have excellent command over English. I am a hard worker, productive and worthy of your attention I hope, I would be the right candidate for this post. Awaiting an affirmative response from you. Kinds Regards, Sandeep
$120 USD en 3 días
4,9 (172 comentarios)
7,6
7,6
Avatar del usuario
I am good in powershell along with automation and development, please let me know if you are good to award this project to me
$50 USD en 3 días
5,0 (34 comentarios)
5,3
5,3
Avatar del usuario
Hello there, I am interested in the project. I have expertise in powershell and I am sure I can deliver the script exactly as per your requirement. Thank You.
$50 USD en 1 día
4,7 (35 comentarios)
5,6
5,6
Avatar del usuario
I can do it in PowerShell. I use it on a daily basis to manipulate files/registry/AD Users and this sounds like a pretty straightforward project. I will need a directory+file sample for testing purposes and let me know when you need the script. When I saw duplicate files, i was thinking they should be binary the same but if the _Version_ is the only criteria, that makes it easier.
$40 USD en 2 días
5,0 (6 comentarios)
3,2
3,2
Avatar del usuario
Hi Client , I have experience on this with PowerShell, I can finish this. I’m a Senior Software Developer & Freelance Web & Automation developer with 5+ years of experiences with Master degree holder and expertise in PYTHON, PHP, HTML 5, CSS3, JAVASCRIPT, NODE. JS, MYSQL, MONGODB, POWERSHELL technology with complete Full stack web developer and automation scripting developer. I’m a huge fan of the work, my goal is to get the project done on time with client satisfaction. If you have the time, I’d like to chat with you about the job requirements of yours. If you have time to talk, you can reach me anytime Thanks for your time, and I look forward to hearing from you.
$14 USD en 1 día
5,0 (1 comentario)
0,4
0,4
Avatar del usuario
Hi, I can write the required script for you with PowerShell to rename old versions of files and folders recursively. I have good experience with scripting in Linux and Windows to perform various tasks like file creation, renaming starting web servers etc. Let me know if you are interested to give me this task and we can discuss any more details required to do this job. Thank you.
$50 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hi, I use PowerShell scripts in my day to day full time job for documents batch processing. please send me the sample directory if you prefer me. Thanks Venkatesh
$50 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I am working with powershell since 2 years and good at powershell and also i had done the same earlier. I will do the same if get the chance.
$49 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I can easily do this for you. You need to trust me with this. I am currently working as an automation engineer using primarily powershell script.
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Windows Expert to deploy/configure Windows 10 Relevant Skills and Experience PowerShell
$35 USD en 10 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I have 5 + years experience in Powershell scripting in various activities like older files, size based documents, type of doc , based on Author and date modified, duplicate files removing or move them to different place or storage cleanup activities etc. I am confident that I will do it this work
$66 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hiiii,, The requirement is interesting and I would to work on this one. I am sure I can make this script in PowerShell, I have already completed this kind or even more complex type of scripts in my office life. I am an experienced professional with 7 years of IT experience who works on such things almost everyday. I can give you the script as early as possible, you can review and verify the script then pay me later. Thanks in advance. Abhishek.
$35 USD en 4 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Granville, United States
5,0
20
Forma de pago verificada
Miembro desde ago 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.