Methods which process the output from "ls -la" are prone to spurious matches and problems with filenames containing space characters. None of the examples posted so far really work.
Another approach. Find all the files in the directory which were created after midnight. The filenames are available in the centre of the do-done loop if you need to do further processing.
There is a better method using just "find" but we don't know whether your directory has subdirectories.
I have task in which I need to pickup a set of files from a directory
depending on the following criteria:
Every month 6 files are expected to arrive at /test.
The files come with date timestamp and the latest file set for the month needs to be used
Suppose this is the set of files that present... (5 Replies)
Hi,
I have some list of directories in the form datemonthyear e.g. 02082009, 03082009 and 04082009 etc.
I need to pick the latest directory from the current working directory.
Outcome:
05082009
This is the output am expecting.
Thanks (6 Replies)
Hi,
I am new to unix and shell scripting,can anybody help me in sctipting a requirement.
my requirement is to get the latest directory the name of the directory will be like CSB.monthdate_time stamp
like CSB.Sep29_11:16 and CSB.Oct01_16:21.
i need to pick the latest directory.
in the... (15 Replies)
Hi
In my script i am trying to access mainframe server using FTP,
in the server i have filee with the timestamp.I need to get the file with the latest timestamp among them . The server has the below files
/
ftp> cd /outbox
250 CWD command successful
ftp> ls
200 PORT command successful... (4 Replies)
Hi
I have a requirement like below
I need to sort the files based on the timestamp in the file name and run them in sorted order and then archive all the files which are one day old to temp directory
My files looks like this
PGABOLTXML1D_201108121235.xml... (1 Reply)
Hi Friends,
Newbie to shell scripting. Currently i have used the below to sort data based on filenames and datestamp
$ printf '%s\n' *.dat* | sort -t. -k3,4
filename_1.dat.20120430.Z
filename_2.dat.20120430.Z
filename_3.dat.20120430.Z
filename_1.dat.20120501.Z
filename_2.dat.20120501.Z... (1 Reply)
Hi Friends,
Newbie to shell scripting
Currently i have used the below to sort data based on filenames and datestamp
$ printf '%s\n' *.dat* | sort -t. -k3,4
filename_1.dat.20120430.Z
filename_2.dat.20120430.Z
filename_3.dat.20120430.Z
filename_1.dat.20120501.Z
filename_2.dat.20120501.Z... (12 Replies)
Hi ,
I did the initial search but could not find what I was expecting for.
15606Always_9999999997_20160418.xml
15606Always_9999999998_20160418.xml
15606Always_9999999999_20160418.xml
9819Always_99999999900_20160418.xml
9819Always_99999999911_20160418.xmlAbove is the list of files I... (4 Replies)
Hi All,
I have list of files like below with name abcxyz.timestamp. I need a unix command to pick the latest file from the list of below files. Here in this case the lates file is abcxyz.20190304103200. I have used this unix command "ls abcxyz*|tail -1" but i heard that it is not the appropriate... (2 Replies)
Discussion started by: rakeshp
2 Replies
LEARN ABOUT DEBIAN
rdkit2fps
RDKIT2FPS(1) User Commands RDKIT2FPS(1)NAME
rdkit2fps - rdkit2fps
DESCRIPTION
usage: rdkit2fps [-h] [--RDK] [--fpSize INT] [--minPath INT] [--maxPath INT]
[--nBitsPerHash INT] [--useHs USEHS] [--maccs166] [--substruct] [--rdmaccs] [--id-tag NAME] [--in FORMAT] [-o FILENAME] [--errors
{strict,report,ignore}] [filenames [filenames ...]]
Generate FPS fingerprints from a structure file using RDKit
positional arguments:
filenames
input structure files (default is stdin)
optional arguments:
-h, --help
show this help message and exit
--id-tag NAME
tag name containing the record id (SD files only)
--in FORMAT
input structure format (default guesses from filename)
-o FILENAME, --output FILENAME
save the fingerprints to FILENAME (default=stdout)
--errors {strict,report,ignore}
how should structure parse errors be handled? (default=strict)
RDKit topological fingerprints:
--RDK generate RDK fingerprints (default)
--fpSize INT
number of bits in the fingerprint (default=2048)
--minPath INT
minimum number of bonds to include in the subgraphs (default=1)
--maxPath INT
maximum number of bonds to include in the subgraphs (default=7)
--nBitsPerHash INT
number of bits to set per path (default=4)
--useHs USEHS
information about the number of hydrogens on each atom
166 bit MACCS substructure keys:
--maccs166
generate MACCS fingerprints
881 bit substructure keys:
--substruct
generate ChemFP substructure fingerprints
ChemFP version of the 166 bit RDKit/MACCS keys:
--rdmaccs
generate 166 bit RDKit/MACCS fingerprints
This program guesses the input structure format based on the filename extension. If the data comes from stdin, or the extension name us
unknown, then use "--in" to change the default input format. The supported format extensions are:
File Type
Valid FORMATs (use gz if compressed)
---------------------------------------------
SMILES
smi, ism, can, smi.gz, ism.gz, can.gz
SDF sdf, mol, sd, mdl, sdf.gz, mol.gz, sd.gz, mdl.gz
rdkit2fps 1.0 June 2012 RDKIT2FPS(1)