Hi All,
I need to create a file which contains the list of all the files present in that directory.
e.g.,
ls /export/home/user/*.dat > list_file.dat
but what i am getting is:
$ ls /export/home/user/*.dat > list_file.dat
/export/home/user/*.dat: No such file or directory
But I have... (1 Reply)
for x in `find /vmfs/volumes/v01tstn01a01/ -type d`; do find $x -name '*.vmx' > /dev/null || echo $x; done;
The goal of this is to find the subdirectories that do NOT contain a file with the extension of .vmx
Any help would be great! (6 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Ok i need to create a directory within another directory in one command. I'm already in a directory to. I need to... (6 Replies)
Hi All,
Please help.
I have got a file which contains a listing of a file and some directories after it, one by one. I am calling this file xyz.txt here
file1
dir1
dir2
dir3
dir4
file2
dir5
dir6
dir7
dir8
file3
dir9
dir10
dir11
dir12 (6 Replies)
Hi,
I have a directory which I am passing in my script as a parameter. Parameter name has been set to $TCH_FILE_DIRECTORY.
I want to know if there's atleast 1 (or more) files in this directory with the extension '.tch'. How can I find this using ksh. (4 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)
Excuses for the long descriptive title.
I am working with Sindhi and developing a database of all verbal conjugations in that language.
I have generated 2 files:
Verbs.dic contains all the verbs, one verb per line
Inflections.dic contains the verbal conjugations which need to be appended to... (6 Replies)
Hi,
I have an inquiry on how do I use the find command in Solaris Unix to find some file ends with extension : txt, err in the root directory with modified date of 30days and this find command will also need to exclude b directory and its subdirectory. All the files from the above find criteria... (5 Replies)
In the bash below I am trying to create sub-directories inside a directory from files with specific .bam extensions. There may be more then one $RDIR ing the directory and the .bam file(s) are trimmed (removing the extension and IonCode_0000_) and the result is the folder name that is saved in... (2 Replies)
Experts,
Need your help for this. Please support
My motive is to create seperate output file for each Input Files(File 1 and File2) in another folder say(/tmp/finaloutput)
Input files
File 1(1.1.1.1.csv)
a,b,c
43,17104773,3
45,17104234,4
File 2(2.2.2.2.csv)
a,b,c
43,17104773,1... (2 Replies)
Discussion started by: as7951
2 Replies
LEARN ABOUT DEBIAN
gpiv_img2gpiv
GPIV_IMG2GPIV(1) General Commands Manual GPIV_IMG2GPIV(1)NAME
gpiv_img2gpiv - Converts images into raw data (extension .r) format with the belonging ASCII header file (extension .h) or into the hdf
format (extension .hdf).
SYNOPSIS
gpiv_img2gpiv [-x | --cross] [-c | --cols ncolumns] [--combine] [-h | --help] [-hdf] [--suf_a EXT] [--suf_b EXT] [--suf_num N] [-i |
--inverse] [-n] [-p] [-r | --rows nrows] [-t] [-v | --version] file_base_name
DESCRIPTION
gpiv_img2gpiv converts images from a common image format (gif, tif etc) into a raw data image with extension .r. Additionally, it generates
an ASCII header file (extension .h). This header contains information concerning image dimensions, color depth, single or double image (for
auto or cross-correlation), time and spatial scales, position of pixel# (0, 0) in the experiment and some additional (non-required) parame-
ters.
gpiv_img2gpiv may also convert to hdf formatted images, with extension .hdf, that might be used by gpiv.
This program does not use the parameter resources from libgpiv. The default settings may be overruled by the command line options, as
explained below.
Options-c | --cols ncolumns
The number of columns of the image (default 1280).
--combine
If the images have been obtained separately, but will have to be used for cross-correlation, they will be combined to a single image
file for interrogating with gpiv_rr (or gpiv). See also --suf_a/b and --suf_num.
-h | --help
On-line help.
-hdf Converts to (or from) hdf formatted data (extension .hdf).
-i | --inverse
Inverse conversion; from raw 8-bit data to image format.
--suf_a EXT
In combination with --combine: the file_base_name of the first frame to be combined is extended with suffix EXT (default: _a).
--suf_b EXT
In combination with --combine: the file_base_name of the second frame to be combined is extended with suffix EXT (default: _b).
--suf_num N
In combination with --combine: If images are numbered instead of with --suf_a and --suf_b. N represents the first of the two num-
bered frames which will be combined with frame N + 1. The combined image will be named to file_base_nameN.r. So, only odd or even
numbered images will result to be loaded in gpiv_rr (or gpiv) for cross-correlation.
-n No execute, only print processes.
-p Prints process to stdout.
-r | --rows
nrows The number of rows in the frame of a SINGLE image (default 1024). An image frame containing a PIV pair of images (to be used
for cross-correlation) should have the double amount of rows; from row #0 to row #nrows - 1 contains the first image and from row
#nrows to row #2xnrows - 1 contains the second image.
-t Image type or format (default bmp).
-v | --version
Print version information on standard output, then exit successfully.
-x | --cross
Double image for cross-correlation (default: single image for auto-correlation).
SEE ALSO
gpivtools
NOTES
The program uses convert.
AUTHOR
Gerber Van der Graaf
19 Januari 2005 GPIV_IMG2GPIV(1)