03-27-2014
The files don't technically have extensions they are named along the lines of
FILENAME.IDENTIFIER.IDENTIFIER.EPOCHSTAMP
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a unix directory with 500 plus files . When I do a ls -lR I can see ALL the files here . How can I sort this by the files extensions ?
I can't enter ls -lR *.ext1 *.ext2 *.ext3 etc in case I miss out some files . (2 Replies)
Discussion started by: newbienix
2 Replies
2. Shell Programming and Scripting
Hi all,
From one directory I need to fetch only files of type *.xls,*.csv,*.txt. I tried the find . -name '*.txt,*.csv,*.xls' -print. But it throws me error. Please do help me on this.
Thanks
Mahalakshmi.A (11 Replies)
Discussion started by: mahalakshmi
11 Replies
3. Shell Programming and Scripting
I am trying to write a Korne Shell Script wherein we have to sort
files according to their extensions(for eg. 1.sh, 5.sh, 9.sh together;
4.csh, 120.csh, 6.csh together and 7.ksh, 2.ksh, 59.ksh together) and
move them to their respective directories viz. sh, csh and ksh...
I think,... (1 Reply)
Discussion started by: marconi
1 Replies
4. Shell Programming and Scripting
Hello !
i have a few files like ...
setup.001
setup.002
setup.003
setup.004
// to
setup.095
and i would like to rename those files to ...
setup.r01
setup.r02
setup.r03
setup.r04
// to
setup.r95 (7 Replies)
Discussion started by: Putazo
7 Replies
5. Shell Programming and Scripting
This regex is supposed to accept files with extensions 270, 276, and "txt" only. Everything else should be discarded.
This is what I have. I'll spare you the rest of the code.
ext =".\$"
#ext =".\$"
#ext =".\$"
#ext =".\$"
for xfile in `ls $dir | grep "$ext" | xargs`; do... (9 Replies)
Discussion started by: grep01
9 Replies
6. Shell Programming and Scripting
Hi Guys,
I have files named myfileaa,myfileab,myfileac,myfilesad.... till myfileav.
Now i needs to rename all these files to myfileaa.txt ,myfileab.txt,myfileac.txt.
Please help me how to do the same.
Thanks in advance..!!! (4 Replies)
Discussion started by: jaituteja
4 Replies
7. Shell Programming and Scripting
Hi all, I am trying to make a for loop invoking files with different extensions (*.ugrd and *.vgrd) and I cant just make it work. Cant figure out how to load the files so as to use them in subsequent commands like the ones in this pseudo code. the files are arranged such that in one date for... (8 Replies)
Discussion started by: ida1215
8 Replies
8. Shell Programming and Scripting
Hello,
I've searched this forum and others for a solution to my problem but nothing seems just right, I'm hoping I can get some help (seems like this should be easy, and I apologize if I've missed something on the forum):
I have several large .fastq DNA sequence files (~20million reads,... (2 Replies)
Discussion started by: ljk
2 Replies
9. AIX
Hi All,
I am scripting a program to find and archive files. There are certain file types that I do not want to archive. Below is the scenario.
I have created a lookup file which has details on folders days and file extensions that needs to be ignored
I have separated the individual into... (4 Replies)
Discussion started by: kavinmjr
4 Replies
10. Shell Programming and Scripting
Hello all!
I want to move several files foo.aux foo.log foo.pdf foo.tex to bar_foo.aux bar_foo.pdf bar_foo.tex
I am on tcsh
% mv foo.* bar_!#:1
is not working.
Thank you for your help
marek (11 Replies)
Discussion started by: marek
11 Replies
LEARN ABOUT DEBIAN
asn1_expand_octet_string
asn1_expand_octet_string(3) libtasn1 asn1_expand_octet_string(3)
NAME
asn1_expand_octet_string - API function
SYNOPSIS
#include <libtasn1.h>
asn1_retCode asn1_expand_octet_string(ASN1_TYPE definitions, ASN1_TYPE * element, const char * octetName, const char * objectName);
ARGUMENTS
ASN1_TYPE definitions
ASN1 definitions
ASN1_TYPE * element
pointer to an ASN1 structure
const char * octetName
name of the OCTECT STRING field to expand.
const char * objectName
name of the OBJECT IDENTIFIER field to use to define the type for expansion.
DESCRIPTION
Expands an "OCTET STRING" element of a structure created from a DER decoding process (the asn1_der_decoding() function). The type used for
expansion is the first one following the definition of the actual value of the OBJECT IDENTIFIER indicated by OBJECTNAME.
RETURNS
ASN1_SUCCESS if substitution OK, ASN1_ELEMENT_NOT_FOUND if objectName or octetName are not correct, ASN1_VALUE_NOT_VALID if it wasn't pos-
sible to find the type to use for expansion, or other errors depending on DER decoding.
COPYRIGHT
Copyright (C) 2006-2011 Free Software Foundation, Inc..
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
SEE ALSO
The full documentation for libtasn1 is maintained as a Texinfo manual. If the info and libtasn1 programs are properly installed at your
site, the command
info libtasn1
should give you access to the complete manual.
libtasn1 2.13 asn1_expand_octet_string(3)