2 replies [Last post]
TheStig
TheStig's picture
Offline
newbie
Atlanta, GA
Last seen: 9 years 20 weeks ago
Atlanta, GA
Timezone: GMT-4
Joined: 2013-03-19
Posts: 1
Points: 2

Long story short, the company I currently design for has a MASSIVE magento website. They just added a program known as Woopra. It's a chat window that does a lot of cool back-end things. Woopra integrated its css files in with some of the existing files, which normally wouldn't be a problem but there's 680 files with the word "css" in it according to the Windows Explorer search tool (315 are actual css files). So what I'm looking for is some search function or program that can read all the css files in the main folder and any subfolders within. Reading js script files, php, phtml and xml files would be helpful in the future.

I also downloaded a grep program, but I cannot search css files properly, only html so that's useless as well.

Thanks in advance!
Mitch

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 22 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Not tested for this usage

Try wget. Do a recursive ftp retrieval of *.css files.

See (Google) man wget.

wget is a powerful non-interactive utility; it doesn't need you to helicopter, as it will reconnect and resume loading files as needed without operator intervention.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 22 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

More …

You don't say what you plan to do when you find whatever you're looking for, so I'll blindly suggest you'll want to use sed, a stream editor in conjunction with egrep. A small shell script could feed sed with each file and sed could read each line and work its magic.

Download sed at Sourceforge.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.