Hello,
I create a file touch 1201093003 fichcomp
and inside a repertory (which hava a lot of files) I want to list all files created before this file :
find *.* \! -maxdepth 1 - newer fichcomp but this command returned bash: /usr/bin/find: Argument list too long
but i make a filter all... (1 Reply)
Yes , I have to find a file in unix without using any find or where commands.Any pointers for the same would be very helpful as i am beginner in shell scritping and need a solution for the same.
Thanks in advance.
Regards
Jatin Jain (10 Replies)
Hi ,
I have a piece of code ...wherein I need to assign the following ...
1) A command line argument to a variable
e.g origCount=ARGV
2) A unix command to a variable
e.g result=`wc -l testFile.txt`
in my awk shell script
When I do this :
print "origCount" origCount --> I get the... (0 Replies)
Hello all. I've been trying to install NWCHEM in parallel on a new cluster, and have been able to get it to work on single processors by ignoring any MPI environment variables.
This is, of course, pretty worthless. So I'm starting over and trying to get thing set up right for the MPI. The key... (6 Replies)
Hello.I have been trying to solve the following problem, but to no avail. If anyone could please give me some indications, or anything, it would be amazing.
A C source program and a type name are given. Determine from source,
the list of the global variables having the given type.
For each... (5 Replies)
I have a flat file (template) where I want to replace variables based upon a value in another file (csv).
The variables in the template are named %VAR_X_z%
The values are in the csv file and X is field 0 of each line and y field 1 and up.
Example of the csv:
Badidas, 13.00, 12.00, 11.00,... (8 Replies)
I have a script like this (Yes, I know the DAY6 number isn't right - I'm just testing at this point):
DAY0=`date -I`
DAY1=`date -I -d "1 day ago"`
DAY6=`date -I -d "2 days ago"`
if
then
ssh root@synology1 nohup rm -rf "/volume1/Fileserver/$DAY6"
fi
I've tested the line to remove the... (5 Replies)
I have a file as follows:
0
1056
85540
414329
774485
1208487
1657519
2102753
2561259
3037737
3458144
3993019
4417959
4809964
5261890
5798778
6254146
I want to find all lines between a specified start and end tag. (6 Replies)
I am trying to do a find with a variable but no matter which way I try it does not work. This is aix. Can I get some ideas on what I am doing wrong?
for i in `cat file`; do find / -type f -name "$i" -exec ls -l {} + ; done
for i in `cat file`; do find / -type f -name "\$i" -exec ls -l... (6 Replies)
Discussion started by: cokedude
6 Replies
LEARN ABOUT DEBIAN
minctoecat
minctoecat(1)minctoecat(1)NAME
minctecat - convert a minc format file to an Ecat7 format file
SYNOPSIS
minctoecat [<options>] <infile.mnc> <outfile.v>
minctoecat [-help]
DESCRIPTION
minctoecat will convert a 2D image, a 3D volumes or a 4D dynamic volumes written in minc file format to a 2D, 3D or 4D Ecat7 file. Whereas
the Ecat7 format has been designed for PET volume issued by Ecat scanners (CTI/SIEMENS - Knoxville, TN, USA) it reads any minc volume type
(static PET, dynamic PET, aMRI, fMRI, labels) natively delivered by any tomograph brand and transform it to a viable Ecat7 file in term of
number of dimensions, dimension size, dimension step, orientation, spatial position, voxel values and voxel unit. Furthermore, it tries
the best as it can to fill optional Ecat7 header fields from the available minc variables and attributes. By default, it extracts these
additional information from common minc variables, namely: patient_variable, study_variable, acquisition_variable. In the case of volumes
originally delivered by an Ecat PET scanners, then, other variable are generally available within the minc header: ecat_acquisition_vari-
able, ecat_main and ecat_sub-header_variable. There, for a such minc volume, the conversion yields a Ecat7 volume almost identical to the
original native volume in terms of header fields. The user can alter this behaviour using the ignore-list options (see the option sec-
tion).
OPTIONS
Note that options can be specified in abbreviated form (as long as they are unique) and can be given anywhere on the command line.
Command specific options
-ignore_patient_variable: Ignore information from the minc patient variable (MIpatient).
-ignore_study_variable: Ignore information from the minc study variable (MIstudy).
-ignore_acquisition_variable: Ignore information from the minc acquisition variable (MIacquisition).
-ignore_ecat_accquisition_variable: Ignore information from the minc ecat acquisition variable (MIecat_acquisition).
-ignore_ecat_main_variable: Ignore information from the minc ecat-mainheader variable (MIecat-main).
-ignore_ecat_subheader_variable: Ignore information from the minc ecat-subheader variable (MIecat-subheader).
-no_decay_corr_fctr: do not regenerate the decay correction factors employed as part as the reconstruction of the original PET volume. The
correction factors is a field in the ecat sub-headers which can be used by processing programs. By default, if the volume is a PET volume
,those factors are regenerated. This option has no interest in the case of non PET data.
-label: Treats voxel as integer values instead of floating point values. In this case, the scale factors and the calibration factors are
both set to unity. This option is particularly useful when the input minc files is a volume of labels.
General options
-help: Print summary of command-line options and abort
-version: Print the program's version and abort
KNOWN BUGS
No bug listed so far :=)
SEE ALSO ecattominc(1), rawtominc(1), minctoraw(1), dicomtominc(1)AUTHOR
Anthonin Reilhac (anthonin.reilhac@cermep.fr)
COPYRIGHTS
Copyrights 2005 by Anthonin Reilhac
minctoecat(1)