Search Results

Search: Posts Made By: mantis
1,352
Posted By mantis
That's an amazing solution sir, but it looks abit...
That's an amazing solution sir, but it looks abit complicated.

Also will I will be able to apply it to a huge file full of uniquenumber_version_filename with thousands of rows?

Thanks
3,842
Posted By mantis
grepping files and then renaming file
Hi,

What is the easiest way to list a directory with 1000s of filenames, grep it for a certain sequence of numbers, and if found to rename the file by the value you are grepping.

eg

The file...
1,352
Posted By mantis
Filtering out duplicates with the highest version number
Hi,

I have a huge text file with filenames which which looks like the following ie uniquenumber_version_filename:

e.g.
1234_1_xxxx
1234_2_vfvfdbb
343333_1_vfvfdvd
2222222_1_ggggg...
1,558
Posted By mantis
Thank you so much fellas. Been so busy own been...
Thank you so much fellas. Been so busy own been able to try your suggestions today.

Regarding the paralellism that is a great idea, problem is I have to put a condition after the grep eg:

grep...
1,558
Posted By mantis
grep 1000s of files with 1000s of grep values
Hi,

I have around 200,000 files in a given directory.

I need to cat each of these files and grep them for thousands of identifier values (or strings) in a given text file.

The text file...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 08:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy