Search Results

Search: Posts Made By: Praveen Pandit
2,304
Posted By Praveen Pandit
Thanks for the reply. I have tried it but it...
Thanks for the reply.

I have tried it but it is not working. Though it appends the file names which are not listed in the input file, it is unable to delete the large number of files.
2,304
Posted By Praveen Pandit
Want to delete the junk files from a directory which are not listed in a TEXT file
Hello Everyone,

I want to delete the image files from a directory, which are not listed in a TEXT file.

The directory contains large number of image files (in millions) required / not...
6,694
Posted By Praveen Pandit
Hi Rudic, Thanks for your reply. I never had...
Hi Rudic,

Thanks for your reply. I never had any intention to create confusion. I thought I should keep the sample file simple and explain my requirement so that I can later modify the code for a...
6,694
Posted By Praveen Pandit
Hi Dave, Thanks once again. I will try and...
Hi Dave,

Thanks once again. I will try and let you know.

Regards
Praveen
6,694
Posted By Praveen Pandit
Hi Dave, Thanks for your help. Can you...
Hi Dave,

Thanks for your help. Can you please let me know what is a & b ?

My input file is feed.txt and the columns I defined for comparison was in the file "declaration.txt" .

If I need to...
6,694
Posted By Praveen Pandit
Hi MadeInGermany, Thanks for your help. I...
Hi MadeInGermany,

Thanks for your help. I tried your script as well.

It is doing the job like identifying the new column names and giving it in an output file "mismatch.txt" but it is not...
6,694
Posted By Praveen Pandit
Here is my input file "feed.txt" (first row is a...
Here is my input file "feed.txt" (first row is a header with column names. I have pasted dummy column values for 3 rows)
...
6,694
Posted By Praveen Pandit
Hi Dave, Columns can be added anywhere in...
Hi Dave,

Columns can be added anywhere in the data. It may be one or more columns.

Regards
Praveen

---------- Post updated at 08:07 AM ---------- Previous update was at 08:02 AM ----------...
6,694
Posted By Praveen Pandit
Hi Rudic, Basically I want to identify all...
Hi Rudic,

Basically I want to identify all the new columns in the feed.txt and delete them along with its values (which means finding column position for all the values) and deleting them so that...
6,694
Posted By Praveen Pandit
Hi Rudic, Sorry for the confusion. I...
Hi Rudic,

Sorry for the confusion. I apologize for the same. Yes, I was trying with a different input file and what I specified above initially was an example.

But I still have a difficulty in...
6,694
Posted By Praveen Pandit
Hi Rudic, But it is not listing the newly...
Hi Rudic,

But it is not listing the newly added column. If the above script is run, it is giving the output as

Column 1: url,dealerid,dealer_name,location,zip,make

in mismatch.txt

As...
6,694
Posted By Praveen Pandit
Hi Don Cragun, I am still doing some...
Hi Don Cragun,

I am still doing some research on this to get the clue.

Regards
Praveen

---------- Post updated at 04:46 AM ---------- Previous update was at 03:33 AM ----------

I am...
6,694
Posted By Praveen Pandit
I want to find the difference between two files, only for the header (column names)
Hi All,

I want to find the difference between two files, by checking only the headers (column names) and report if any new column is added in the latest file.

For Ex: If the file...
8,831
Posted By Praveen Pandit
Thank you Mr.Don Cragun.
Thank you Mr.Don Cragun.
8,831
Posted By Praveen Pandit
Please help. I am stuck :(
Please help. I am stuck :(
8,831
Posted By Praveen Pandit
Hi Don Cragun, Thanks for your reply. ...
Hi Don Cragun,

Thanks for your reply.

I am repasting the filenames20140630-144422
20140630-144422.csv
20140707-182653
20140707-182653.csv

1. 20140630-144422 is a directory named after...
8,831
Posted By Praveen Pandit
Hi Rudic, Thanks for the reply. Respective...
Hi Rudic,

Thanks for the reply. Respective file and folder names are always with date-time> So it will be always different.

Please advice.

Regards
Praveen
8,831
Posted By Praveen Pandit
Read latest file name with a date and time and then download from FTP
Hi All,

Please help.

I have requirement to read the file / folder based on the latest date and download the file and folder.

There will be files and folders in the location like
...
1,687
Posted By Praveen Pandit
Thanks a lot Mr.Don Cragun. Your solution has...
Thanks a lot Mr.Don Cragun. Your solution has helped me.

Regards
Praveen
1,687
Posted By Praveen Pandit
,,,,,,,,
,,,,,,,,
1,687
Posted By Praveen Pandit
,,,,,,
,,,,,,
1,597
Posted By Praveen Pandit
How to remove. (dot) if found in the beginning of file name while doing wget (download)?
Dear All,

How to remove. (dot) if found in the beginning of file name while doing wget (download)?

I am facing problem while re-sizing the image by using ImageMagick. Two dots in the file name...
7,085
Posted By Praveen Pandit
Want to download a latest file with current date from FTP location
Dear Friends,

I need help to write a shell / perl script to download the files from FTP location, having different file names (date inside the file name).

Example:

Mar 5 09:24...
1,219
Posted By Praveen Pandit
Thanks lot for help !!
Thanks lot for help !!
1,219
Posted By Praveen Pandit
Download images from the first column and rename it with the second column in a loop: Please help!
Dear Friends,

I have a very little knowledge on shell scripting. I am stuck with a problem for which I need an expert advice.

I have a .txt file "image_urls.txt" which contains the data like...
Showing results 1 to 25 of 25

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