Find Jobs
Hire Freelancers

Powershell Script to Remove Duplicate File/Folder Versions

$10-50 USD

Opravljeno
Objavljeno pred približno 4 leti

$10-50 USD

Plačilo ob dostavi
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 projekta: 24071955

Več o projektu

13 ponudb
Projekt na daljavo
Aktivno pred 4 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
Dodeljeno:
Avatar uporabnika
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 v 7 dneh
5,0 (6 ocen)
3,0
3,0
13 freelancerjev je oddalo ponudbo s povprečno vrednostjo $48 USD za to delo
Avatar uporabnika
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 v 3 dneh
4,9 (172 ocen)
7,6
7,6
Avatar uporabnika
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 v 3 dneh
5,0 (34 ocen)
5,3
5,3
Avatar uporabnika
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 v 1 dnevu
4,7 (35 ocen)
5,6
5,6
Avatar uporabnika
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 v 2 dneh
5,0 (6 ocen)
3,2
3,2
Avatar uporabnika
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 v 1 dnevu
5,0 (1 ocena)
0,4
0,4
Avatar uporabnika
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 v 2 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
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 v 2 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
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 v 3 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
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 v 1 dnevu
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
Windows Expert to deploy/configure Windows 10 Relevant Skills and Experience PowerShell
$35 USD v 10 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
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 v 3 dneh
0,0 (0 ocen)
0,0
0,0
Avatar uporabnika
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 v 4 dneh
0,0 (0 ocen)
0,0
0,0

O stranki

Zastava UNITED STATES
Granville, United States
5,0
20
Plačilna metoda je verificirana
Član(ica) od avg. 25, 2011

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.