My input:
File_1:
2000_t
g1110.b1
abb.1
2001_t
g1111.b1
abb.2
abb.2
g1112.b1
abb.3
2002_t
.
.
File_2:
2000_t Ali england 135
abb.1 Zoe british 150
2001_t Ali england 305
g1111.b1 Lucy russia 126 (6 Replies)
Hi all,
This is actually more for my lazyness then anything else, but I think others might find it useful to use as well. Basically this is what I am trying to achieve...
In my ubuntu home dir under Downloads is where firefox saves everything by default, now I know that you can manually... (3 Replies)
Move all files starting with a specific name to different directory.
This shell script program should have three parameters
File Name
Source Directory
Destination Directory
User should be able to enter ‘AB_CD*' in file name parameter. In this case all the files starting with AB_CD will... (1 Reply)
Hi Folks,
I have different type of file in my current directory. From my current directory i need to move the file which is start with csp_rules and if the file is having the string payg , then I need to move all this files to another directory /output/record. Please help me how to do this?
... (3 Replies)
Hi All,
Really stuck up with a requirement where I need to move a file (Lets say date_Employee.txt--the date will have different date values like 20120612/20120613 etc) from one directory to another based on creation/modification dates.
While visiting couple of posts, i could see we can... (3 Replies)
Hi all,
I'm new to this forum and bash scripting. I have the following problem, I need to copy some files (from one dir. to another) whose first 5 numbers (subjects' ID) match the directory names. Here a shortened version of what I'm trying to do:
names=(32983_f 35416_f 43579_f) # these are... (6 Replies)
I am using bash to prompt a user for a choice using: where a "y" response opens a menu with available panels that can be used.
while true; do
read -p "Do you want to get coverage of a specific panel?" yn
case $yn in
* ) menu; break;;
* ) exit;;
* ) echo... (6 Replies)
I have a specific set (all ending with .bam) of downloaded files in a directory /home/cmccabe/Desktop/NGS/API/2-15-2016. What I am trying to do is use a match to $2 in name to rename the downloaded files. To make things a more involved the date of the folder is unique and in the header of name... (1 Reply)
I have a directory /home/cmccabe/nfs/exportedReports that contains multiple folders in it. The find writes the name of each folder to out.txt. A new directory is then created in a new location /home/cmccabe/Desktop/NGS/API, named with the date. What I am trying to do, unsuccessfully at the moment,... (7 Replies)
In the below bash I am trying to rename eachof the 3 text files in /home/cmccabe/Desktop/percent by matching the numerical portion of each file to lines 3,4, or 5 in /home/cmccabe/Desktop/analysis.txt. There will always be a match between the files. When a match is found each text file in... (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT CENTOS
install-info
INSTALL-INFO(1) User Commands INSTALL-INFO(1)NAME
install-info - update info/dir entries
SYNOPSIS
install-info [OPTION]... [INFO-FILE [DIR-FILE]]
DESCRIPTION
Add or remove entries in INFO-FILE from the Info directory DIR-FILE. INFO-FILE and DIR-FILE are required unless the --info-file or
--dir-file (or --info-dir) options are given, respectively.
OPTIONS --add-once
add only to first matching section, not all.
--align=COL
start description of new entries at column COL.
--calign=COL
format second and subsequent description lines to start at column COL.
--debug
report what is being done.
--delete
delete existing entries for INFO-FILE from DIR-FILE; don't insert any new entries.
--description=TEXT
the description of the entry is TEXT; used with the --name option to become synonymous with the --entry option.
--dir-file=NAME
specify file name of Info directory file; equivalent to using the DIR-FILE argument.
--dry-run
same as --test.
--entry=TEXT
insert TEXT as an Info directory entry, overriding any corresponding entry from DIR-FILE. TEXT is written as an Info menu item line
followed
by zero or more extra lines starting with whitespace.
If you specify more than one entry, all are added. If you don't specify any entries, they are determined
from information in the Info file itself.
--help display this help and exit.
--info-dir=DIR
same as --dir-file=DIR/dir.
--info-file=FILE
specify Info file to install in the directory; equivalent to using the INFO-FILE argument.
--item=TEXT
same as --entry=TEXT.
--keep-old
do not replace entries, or remove empty sections.
--maxwidth, --max-width=COL
wrap description at column COL.
--menuentry=TEXT
same as --name=TEXT.
--name=TEXT
the name of the entry is TEXT; used with --description to become synonymous with the --entry option.
--no-indent
do not format new entries in the DIR file.
--quiet
suppress warnings.
--regex=R
put this file's entries in all sections that match the regular expression R (ignoring case).
--remove
same as --delete.
--remove-exactly
only remove if the info file name matches exactly; suffixes such as .info and .gz are not ignored.
--section=SEC
put entries in section SEC of the directory. If you specify more than one section, all the entries
are added in each of the sections.
If you don't specify any sections, they are determined
from information in the Info file itself.
--section R SEC
equivalent to --regex=R --section=SEC --add-once.
--silent
suppress warnings.
--test suppress updating of DIR-FILE.
--version
display version information and exit.
REPORTING BUGS
Email bug reports to bug-texinfo@gnu.org, general questions and discussion to help-texinfo@gnu.org.
Texinfo home page: http://www.gnu.org/software/texinfo/
COPYRIGHT
Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for install-info is maintained as a Texinfo manual. If the info and install-info programs are properly installed at
your site, the command
info install-info
should give you access to the complete manual.
install-info 5.1 June 2014 INSTALL-INFO(1)