Sponsored Content
Special Forums UNIX Desktop Questions & Answers Move the files which is coming after grepping Post 302797869 by ripudaman.singh on Tuesday 23rd of April 2013 10:14:41 AM
Old 04-23-2013
<--start
grep -il Bufman *.* | while read file
do
echo "Moving $file"
mv $file ../MARK/
done
end-->


I am searching file in current directory only
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

grepping lines out of files

Hi, I wonder if anyone can help me. I have a file with about 200 lines in it. I am wanting to set up a Count so that it picks out each line at turn and edits the line. However i am having trouble pulling out the specific line. I have a feeling it will be done somehow by a grep -n but what ever i... (2 Replies)
Discussion started by: mariner
2 Replies

2. Shell Programming and Scripting

grepping many values from same files

Hi All, I am having a script in which I am greping some values and storing them from files with .err and .log extensions. I feel I can do it better.But How? Below is my piece of code. oneerrors=`egrep -i -n "one" *.err *.log` twoerrors=`egrep -i -n "two" *.err *.log` ... (2 Replies)
Discussion started by: Sreejith_VK
2 Replies

3. Shell Programming and Scripting

awking and grepping parts of files: the 'super diff'

OKAY---- Here's what I must do. I have two files. I need to compare the two files such as with the diff command. I am adding FILENEW to FILEOLD If fields $1, $2, $5, and 6 are the same, then I don't want to add FILENEW records to FILEOLD. If they are not, then append the lines. Is... (11 Replies)
Discussion started by: jeffpas
11 Replies

4. UNIX for Dummies Questions & Answers

grepping between files

Hi I have two files File 1 alias HOME =.. alias DATA = ${DATA}/runtime1/test alias SQL = ${DATA}/find1dir/test alias SQL1 = ${HOME}/sql/orcl alias SQL2 =... (2 Replies)
Discussion started by: ssuresh1999
2 Replies

5. Shell Programming and Scripting

Files are not coming in attachement by any command

Hi All I want to send a file thru a mail with an attachment. i tried using uuencode , but it says "bash: uuencode: command not found" and the same i am getting for mutt as well: "bash: mutt: command not found" Tried searching in all the forums but could not find anything... (2 Replies)
Discussion started by: Prateek007
2 Replies

6. UNIX for Dummies Questions & Answers

grepping log files

I have a log file and I have two unique strings which represent the start and end of the text I want to obtain. How can I get all the text inbetween this start string and the end string? Thanks (2 Replies)
Discussion started by: chrisjones
2 Replies

7. Shell Programming and Scripting

grepping files and then renaming file

Hi, What is the easiest way to list a directory with 1000s of filenames, grep it for a certain sequence of numbers, and if found to rename the file by the value you are grepping. eg The file I am examining will looks like this: 1234 1224343 2324 244 35665 If I am examining a list... (1 Reply)
Discussion started by: mantis
1 Replies

8. Shell Programming and Scripting

Grepping large list of files

Hi All, I need help to know the exact command when I grep large list of files. Either using ls or find command. However I do not want to find in the subdirectories as the number of subdirectories are not fixed. How do I achieve that. I want something like this: find ./ -name "MYFILE*.txt"... (2 Replies)
Discussion started by: angshuman
2 Replies

9. Shell Programming and Scripting

Performance issue in Grepping large files

I have around 300 files(*.rdf,*.fmb,*.pll,*.ctl,*.sh,*.sql,*.prog) which are of large size. Around 8000 keywords(which will be in the file $keywordfile) needed to be searched inside those files. If a keyword is found in a file..I have to insert the filename,extension,catagoery,keyword,occurrence... (8 Replies)
Discussion started by: millan
8 Replies

10. Shell Programming and Scripting

SBATCH trinity for multiple files and rename/move the output files

Hey guys, I have wrote the following script to apply a module named "trinity" on my files. (it takes two input files and spit a trinity.fasta as output) #!/bin/bash -l #SBATCH -p node #SBATCH -A <projectID> #SBATCH -n 16 #SBATCH -t 7-00:00:00 #SBATCH --mem=128GB #SBATCH --mail-type=ALL... (1 Reply)
Discussion started by: @man
1 Replies
IFRIT(1)						      General Commands Manual							  IFRIT(1)

NAME
ifrit - a powerful tool that can be used to visualize 3-dimensional data sets SYNOPSIS
ifrit [qt-options] [options] [dir_name] DESCRIPTION
This manual page documents briefly the ifrit command. This manual page was written for the Debian distribution because the original pro- gram does not have a manual page. OPTIONS
-8 accepts an 8-bit display -d starts IFRIT with all windows docked together into a single window. -nf does not show the splash screen at start-up -sw uses small font to reduce the QT window size -rw IFRIT is being used remotely. This option can be used to minimize re-drawing of the widget windows. -ni IFRIT is not idiosyncratic. This prompts IFRIT not to ask for a confirmation when exiting or running scripts. -np number sets the number of processors to use. Note that only some parts of IFRIT support parallel execution so far. -i file_name loads the state from the previously saved state file filename. -b file_name runs IFRIT in batch mode, taking animation script from the file filename. If filename starts with sign "+", standard directories (see ENVIRONMENT VARIABLES ) will be prepended to the file name. -h -help show the list of available command-line options. ENVIRONMENT VARIABLES
IFRIT understands the following environment variables (all in capitals): IFRIT_DIR The main IFRIT directory where you keep the variable file ifrit.nam and options file(s) ifrit.ini. If this variable is not set, IFRIT assumes that current directory is the main directory. IFRIT_DATA_DIR: The default directory for the data files. If not set, IFRIT will start searching for the data files in the current directory. IFRIT_MESH_DATA_DIR The default directory for the mesh data files. If not set, IFRIT will start searching for the mesh data in the default data direc- tory. IFRIT_PART_DATA_DIR The default directory for the particle data files. If not set, IFRIT will start searching for the particle data in the default data directory. IFRIT_VECT_DATA_DIR The default directory for the vector field data files. If not set, IFRIT will start searching for the vector field data in the default data directory. IFRIT_TENS_DATA_DIR The default directory for the tensor field data files. If not set, IFRIT will start searching for the tensor field data in the default data directory. IFRIT_IMAGE_DIR The directory where IFRIT will place image and animation files. If not set, IFRIT will put image files into the current directory. IFRIT_SCRIPT_DIR The directory where IFRIT will place animation scripts. If not set, IFRIT will put scripts into its main directory. IFRIT_PALETTE_DIR The directory where IFRIT will place custom palettes. If not set, IFRIT will put palettes into its main directory. SEE ALSO
The IFRIT help system. AUTHOR
This manual page was adapted by Mark Hymers <mark.hymers@ncl.ac.uk> from the ifrit help system, for the Debian project (but may be used by others). September 09, 2004 IFRIT(1)
All times are GMT -4. The time now is 04:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy