LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2015, 10:55 AM   #1
atjurhs
Member
 
Registered: Aug 2012
Posts: 179

Rep: Reputation: Disabled
simple open multiple test file command help


hi guys,

i want to open 4 tab files that are in a dir that has 51 or so tab files, so i know i don't want to use a command that has a * in it, that would open all of them and that would be bad, i want to open the 4 by calling the 4 files by their specific file name, but so far (in my own little test area) I can't get that to work. if i use a star in the cmnd below like this '*' the cmnd will run but then i have 51 open files

i'm using the find cmnd and passing that to exec like this

find . -name 'file1.tab file2.tab file3.tab file9.tab' -exec gedit {} +

once i have the proper cmnd i'm going to save that off in a text file so i can run the cmnd again at another time in a differnt directory that also has 51 tab files.

thanks! look forwad to hearing back,

tabby
 
Old 08-20-2015, 10:58 AM   #2
atjurhs
Member
 
Registered: Aug 2012
Posts: 179

Original Poster
Rep: Reputation: Disabled
oh, and is there a way to tell gedit, or one of the other editors, that when you open it to put in columns by tabs, because it is a tab formatted file. or do i have to use openoffice.org calc for that?
 
Old 08-20-2015, 11:20 AM   #3
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 42.2, Tumbleweed, OS X 10.10, Ubuntu 16.04/16.10, and Linux Mint 17.3/18.1
Posts: 590
Blog Entries: 9

Rep: Reputation: 71
I don't think gedit has a column mode by default, and a few Google searches confirmed that. I saw in some places that Kate (KDE's text editor) has this feature. Someone else will have to offer advice on the find command. zypper/apt-get/yum/dnf install kate should install Kate if you think it's the best option.

Also, it is best practice to edit a thread-starting post rather than post a response to it if you meant to add a detail to your question. It'll show as having 0 responses and will attract more attention.

Last edited by wagscat123; 08-20-2015 at 11:22 AM.
 
Old 08-20-2015, 12:46 PM   #4
atjurhs
Member
 
Registered: Aug 2012
Posts: 179

Original Poster
Rep: Reputation: Disabled
thanks waggie,

i do also have kate on my system
 
Old 08-20-2015, 01:45 PM   #5
wagscat123
Member
 
Registered: Jan 2009
Location: Maryland-Pennsylvania border, USA
Distribution: openSUSE 42.2, Tumbleweed, OS X 10.10, Ubuntu 16.04/16.10, and Linux Mint 17.3/18.1
Posts: 590
Blog Entries: 9

Rep: Reputation: 71
Kate can probably be installed - what's your distro?

It also seems Emacs and Vim support this as well.
 
Old 08-21-2015, 01:07 PM   #6
atjurhs
Member
 
Registered: Aug 2012
Posts: 179

Original Poster
Rep: Reputation: Disabled
wags I already have kate on my system, and i'm not so caring about having kate format the docs in tabs, although that would be a nice benny

what I need to figure out is the syntax of the command when I want to open multiple files without using a * but by listing just the ones i want by filename

tabby
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gimp 2.2: unable to open a test swap file. stf92 Slackware 9 05-18-2014 04:00 AM
[SOLVED] a simple command in script not working:No protocol specified, Error cant open display mla.rue Linux - Newbie 3 11-07-2012 08:18 AM
LXer: Using the Builtin Test Command to Test for Multiple Aspects LXer Syndicated Linux News 0 11-26-2011 02:20 PM
how to open multiple windows to view multiple docx file with window 2007 installed astromoko Linux - Newbie 2 08-01-2011 09:45 PM
LXer: Adodb Multiple Test Scripts Remote Command Execution ... LXer Syndicated Linux News 0 01-09-2006 07:01 PM


All times are GMT -5. The time now is 08:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration