LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-13-2010, 07:13 AM   #1
Versatile Green
LQ Newbie
 
Registered: Jul 2010
Posts: 26

Rep: Reputation: 0
Question about either csv or xls files


I work with spreadsheets for my business. The source files start out as csv, but change when I save them as spreadsheets. The spreadsheets are not used for math functions, only products & attributes. My business is an e-commerce site. Occasionally, items I have on my site become unavailable, so I need to update to remove the items. The problem is that I have so many items loaded, a 4 digit number, and the source files go into 5 digit numbers. It takes hours to manually do a visual comparison of product codes. Is there a program to compare 2 files for matching entries to flag the lines in the smaller file that either are or are not in the larger file?
 
Old 11-13-2010, 07:24 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
You can use meld for this. It visually shows you the difference, and you can update one or the other with individual changes if you want. It's available in most distributions repository for installation.
 
Old 11-13-2010, 07:40 AM   #3
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Rep: Reputation: 217Reputation: 217Reputation: 217
If you are looking to delete items and the file is too large verify manually, you should be using a data base system. How do you verify the changes (deletions) are effective?

Actually if you store the copies in a spreadsheet, then the lookup fucntion should do.

OK
 
Old 11-13-2010, 07:45 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Have you tried the OpenOffice.org spreadsheet facility Edit -> Compare?
 
Old 11-14-2010, 07:08 AM   #5
Versatile Green
LQ Newbie
 
Registered: Jul 2010
Posts: 26

Original Poster
Rep: Reputation: 0
At a glance, I am not sure meld will really help, but I will look again later. It does not seem to be on this DVD, but I can check others. I run on a live DVD, not installed. I was having trouble trying to multi-task, looking into meld while testing compare. I don't actually delete any items. Instead, I simply switch them to unavailable. In the admin area, I can see the availability status as yes or no. I tried compare both ways, from the small & from the large. In each case, it gave me a list of several deleted lines & numerous changes it was making. It kept crashing my system & I was unable to determine the cause or reason for the changes. Basically, I am hoping to find a way to distinguish the product codes that I need to switch off from those that I don't.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirect output in .xls or csv format jeesun Programming 5 12-25-2009 05:56 PM
Perl convert csv to xls hawk__0 Programming 3 09-16-2009 09:13 AM
Script to convert csv 2 xls or odt xowl Linux - Software 1 01-16-2007 09:06 PM
xls to csv or ascii Shioni Linux - Software 1 08-04-2006 05:04 AM
Parsing XLS or CSV in Perl - what and what not me_the_apprentice Programming 13 02-28-2006 03:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration