Sponsored Content
Top Forums Shell Programming and Scripting How to redirect a input of find command into a text file Post 302458618 by sivaranga001 on Friday 1st of October 2010 08:51:30 AM
Old 10-01-2010
How to redirect a input of find command into a text file

Hello friends,

I want a command to print the reult files from find command into a text file.Smilie
Iam looking from forum memebers. PLZ help me.ASAP

Thanks in Advance,
Siva Ranganath CH
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to input username on text file into finger command on shell script

I'm trying to clean up my server and I have the list of some "special" users stored on the text file like this Now I want to write a shell script to finger all of them so I can have some kind of ideas who they are but here comes the problem....I completely forgot how to do it with shell... (3 Replies)
Discussion started by: Micz
3 Replies

2. Shell Programming and Scripting

Looking for command(s)/ script to find a text string within a file

I need to search through all files with different file suffixes in a directory structure to locate any files containing a specific string (5 Replies)
Discussion started by: wrwelden
5 Replies

3. UNIX for Dummies Questions & Answers

redirect input from file?

I need to run a command inside root-environment, and want to use: su - root -c "some command..." Then I am prompted for a password, of course. Is it possible to put this password in a file, and present this files content, to the command above?:confused: (1 Reply)
Discussion started by: bjornrud
1 Replies

4. UNIX for Dummies Questions & Answers

sorting files with find command before sending to text file

i need help with my script.... i am suppose to grab files within a certain date range now i have done that already using the touch and find command (found them in other threads) touch -d "$date_start" ./tmp1 touch -d "$date_end" ./tmp2 find "$data_location" -maxdepth 1 -newer ./tmp1 !... (6 Replies)
Discussion started by: deking
6 Replies

5. Shell Programming and Scripting

Input file redirect in output path and want name as inputfilename_new.txt

not required this time (6 Replies)
Discussion started by: Sandeep_Malik
6 Replies

6. UNIX for Dummies Questions & Answers

How to pass file text into find command

Hi all, I have a large text file and also a smaller list of program names. I want to find out how many of those programs exist in the large text file. Can someone help me with the command/script please. The program list is along the lines of tranwe2 tranwe3 tranye5 etc so basically I... (5 Replies)
Discussion started by: Grueben
5 Replies

7. Shell Programming and Scripting

Using redirect for input instead of command line

I have a script that is working when I input parameters from the command line. I was under the assumption that i could use a redirect for the input. script fred.sh: value1=$1 value2=$2 print $value1 $value2 Running from command line: fred.sh 1 2 1 2 Contents of file fred.txt:... (3 Replies)
Discussion started by: djm2112
3 Replies

8. Shell Programming and Scripting

Read file from input and redirect to output file

Hi , i am having an file which contains 5 file_name data, i need to read the file name and will perform certain operation and generate out file names with named as 5 individual file_names for eg: file.txt contains file_name1.txt|hai file_name2.txt|bye file_name3.txt|how... (3 Replies)
Discussion started by: rohit_shinez
3 Replies

9. UNIX for Dummies Questions & Answers

Redirect output to the same input file in awk

Hi, I want to compare a value from test file and redirect the o/p value to the same file input file 250 32000 32 128 Below is my code awk '{ if ($1 < "300") print $1 > /tmp/test}' test want to compare 250 < 300 then print 300 to the same place below is the... (24 Replies)
Discussion started by: stew
24 Replies

10. UNIX for Beginners Questions & Answers

How do I redirect output from "find", either to a file or another command?

I'm trying to find out what happened to the rogue game that apt-get told me it installed, so I thought I would find the file. I went to the root and entered: find -name "rog*.*" I get a large number of lines saying my access is denied in various directories. I figure I'll practice my Unix... (14 Replies)
Discussion started by: arghvark
14 Replies
TK_BRIEF(1)						      General Commands Manual						       TK_BRIEF(1)

 November 2000" "tk_Brief "

NAME
tk-Brief is a graphical user interface for writing single or multiple letters with latex. Even begginers are able to use it without a long time of learning. SYNOPSIS
tk_Brief [ -a an ] [ -N name ] [ -str street ] [ -o city ] [ -dir directory ] [ -fax faxnumber ] [ -h ] [ filename ] DESCRIPTION
tk_Brief generates a <filename>.tex file using a <filename>.text file and the input from the input fields. There are different letter styles inplemented, e.g. g-brief. Although it was originally written for the german letter norm, it can create an english or durch letter style. The labels can occur in English of Dutch language. tk_Brief is written in Tcl/Tk and therefor available on many platforms. OPTIONS
-h Short Help for tk_Brief. -a to Commandline option for 'to' field. -N name Commandline option for 'name field. -str street Commandline option dor 'street' field. -o city Commandline option for the 'city' field. -dir directory Starting directory. -fax faxnumber Commandline option for the 'faxnumber' field.. BUTTONS
Exit Exits tk_Brief and saves configurations in ${HOME}/.serienbrief Configuration Here are the senders and the layout for the letter style configured. Edit Text Using the external editor (default 'jed') edits the letter test and is saved in the file <filename>.text. Spell checking Using the configured spell checker (default 'ispell') <filename>.text is checked. TeX-file The LaTeXfile can be observed. Latex Compiling the File. Preview Compiling the file and viewing it with the configured viewer (default 'xdvi'). Print Compiling the file and printing it with the configured print command (default 'lpr -Plaser'). Multiple letters tk_Brief enteres multiple letter mode. Send fax Converting the file into g3 and send the fax using sendfax. Clear All temporary files are deleted. MULTIPLE LETTERS
In multiple letter mode input the addresses using 'Edit Addresses' in the following format: <to>;<name: >;<street>;<PLZ Ort>[;<opening>] <to>;<name: >;<street>;<PLZ city>[;<opening>] <to>;<name: >;<street>;<PLZ city>[;<opening>] <to>;<name: >;<street>;<PLZ city>[;<opening>] into the file <filename>.adresses. tk_Brief formats the addresses and saves them into <filename>.adr_ok. The <filename>.tex files are generated using the addresses. <opening> is optional. 'Preview' and 'Print' enters a warning mode because of the number of files. 'q' exits 'xdvi'. The next file is shown. For the later printing 'Generate PostScript' can be used. The PostScript files are numbered <filename><NR>.ps. REQUIREMENTS
g-brief pslatex tcl/tk FILES
$HOME/.serienbrief configuration file for tk_Brief <filename>.text letter text <filename>.tex generated LaTeXfile <filename>.adresses address file for multiple letters <filename>.adr_ok formatted address file for multiple letters SEE ALSO
LaTeX, dvips (1), ispell (1), lpr (1), sendfax (1), gs (1) LICENSE
Copyright (C) 1998 [Ralf Muller] This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. AUTHOR
Ralf Muller Ruppurrer StraBe 104 D-76137 Karlsruhe Email: ralf@krisralf.physik.uni-karlsruhe.de WWW: http://krisralf.physik.uni-karlsruhe.de/tk_Brief 13 TK_BRIEF(1)
All times are GMT -4. The time now is 03:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy