Find Jobs
Hire Freelancers

Windows Batch script to get all unique data from multiple occurrences of given files

₹1500-12500 INR

Cancelled
Posted over 6 years ago

₹1500-12500 INR

Paid on delivery
I have this project, where I need something done in windows. A batch script for windows is what I seek as solution to this. MY BUDGET is about INR 3,000, or USD 50. I am already able to do this but need refined script, and I know it's easy for the experienced people out there. What I need is unique values from a given file that is present in multiple subfolders. Yes, the given file is located in many subfolders, and I need all these exactly-same-named files merged into one, and then filtered out for unique values, so that I have all lines of code from all occurrences of given file, without duplication. I have created a zip file that contains two zip files, [login to view URL] and result.zip. Find it here - [login to view URL] The untouched zip contains the folders and subfolders and files that I have on my PC. While the result zip contains what I need and where. Let's discuss them. Extract the untouched zip, and you will see two app folders (randomly named, and in reality, could be 50-60 such folder of apps for the script to handle). The app1 folder, contains three version of an app, decompiled. In reality, there could be more versions of the app, like 10-20 version, but batch job would remain same anyway because no. of folders won't matter. Now, what I need is the data from [login to view URL] file from each of the versions. Each version subdirectory has the file at this location: res/values/[login to view URL] Now, important this is, [login to view URL] also exists in folders like values-af, values-ar, values-az, values-be, etc. which are language folders for the app. We need to totally IGNORE the [login to view URL] in language folders. however, we need to include [login to view URL] from values folders that end with number, like values-v25, values-v11, etc. please see this directory (com.google.android.apps.walletnfcrel_1.26.159618348-930075657\res) for what I am talking about. I have taken the [login to view URL] from res/values subdirectories of all three versions of app1, and provided that in result zip. Filename is app1-strings-aio.txt. Then I have also trimmed the file down, and the resulting file that contains only unique values is: [login to view URL] Besides the [login to view URL] in res/values and res/values-NUM directories, I also need unique data from AndroidManifest file. This one is a tad easy. This file exists at the root of each version folder of the app. I have provided a combined [login to view URL] file, it's name is [login to view URL], and its trimmed down version with unique files is [login to view URL] So, I need four files from you for each app directory. [login to view URL] [login to view URL] [login to view URL] [login to view URL] I need these four files in the root directory of the app directory, and these files must have the app directory as their prefix, like I have: "app1-" for app1 app directory. Also, I think once we can do this for res/values/[login to view URL], it's easy to do this for other files too in the res/values directory. Oh, also include res/values-NUM directories, but yes, have to definitely exclude all values-af/be/ar/etc. directories. Other files of which I would need data in the same as [login to view URL] file would be: [login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL] and raws.xml. Basically all files in values folder.
Project ID: 15758734

About the project

Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of INDIA
Mumbai, India
5.0
5
Payment method verified
Member since Mar 4, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.