LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-14-2014, 05:00 PM   #1
thealmightyos
Member
 
Registered: Mar 2009
Distribution: CentOS 6.5 / 7
Posts: 119

Rep: Reputation: 1
remove readme files from a large group of *.zip files with a command line function


I KNOW this can be done but I can not figure it out right now. My brain just will not do as it is told

Here is the situation. I am currently playing a game called Kerbal Space Program (Runs naively in Linux! Check it out!). Very fun and has a lot of user created mods that can be installed. And I have done just that. I have 60~ mods installed.

However, some of these mods are complex and going back to the readme is a good option. I would like copy all the readme* files from the zip files into a folder. I am fairly certain I can do this with a combination of find and tar but I have not figured it out yet. Any suggestions?
 
Old 08-14-2014, 05:24 PM   #2
thealmightyos
Member
 
Registered: Mar 2009
Distribution: CentOS 6.5 / 7
Posts: 119

Original Poster
Rep: Reputation: 1
I figured it out: unzip '*.zip' *readme* *README* *ReadMe* *Readme*

it was that easy. I suppose I could use the -d option to put them where I want them but until I figure out why I don't have write access on this share FOR ROOT testing that sort of stuff will have to wait.

Hope this helps someone.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Command prompt outputs large files one line at a time Drumachine Linux - Newbie 4 10-05-2013 04:37 PM
How to zip large files nallanisai Red Hat 1 07-14-2011 10:55 AM
how to remove a user from secondary group using command line iamjayanth Red Hat 2 07-11-2009 12:12 AM
How to view readme.xyz.gz files from command line? drokmed Linux - Software 6 02-18-2008 01:15 PM
Command Line Help: Remove a List of Files lukasbradley Linux - Newbie 2 08-17-2005 05:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:04 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