Am trying to write a script which does the archiving of *.txt files if it's one week old from the current date.
/TK/Project_ATT/Results/
File format :
from the above *.txt, script should archive UQ-CI01_FF_20130905_10H24M.txt file (by taring the file) only since it's week old file from current date and putting into Archive directory.
/TK/Project_ATT/Archive/
Any help will be much apprecitated.
Hi all ,
In order to zip the file ...
first we need to use TAR and then GZIP on the TAR file .....
Is there any other method for zipping the files directly as in windows ( winzip )
Regards,
Dhananjay (3 Replies)
Hi Guru's,
I need to create 3 files with the contents "ABC" using single command.
Iam using:
echo "ABC" > file1.txt file2.txt file3.txt
the above command is not working. pls help me...
With Regards / Ganapati (4 Replies)
Dear experts,
In a directory i have both *.TXT and *.txt files. I have a script-
for file in `ls *.txt`; do
mv $file /tmp/$file
How to list both *.txt and*.TXT file in one command so that script will move both .txt or .TXT whatever it find.
br//purple (4 Replies)
Hi, Friends,
I am writing a script to delete all the files which are there for more than 3 weeks.
I have tried this :
find /home/appl/backup -type f -mtime +21 -exec rm -f {} \;
But i am not sure if it deletes only the files in specified directory or all the directorinies in the provieded... (3 Replies)
Hi,
I'm new to scripting. I need to find all the 10 files in the source directory and then archieve them to archive directory.
The source files which im getting does not have any extensions just binary files.
I need to find them by the file names and archive it. Directory also contains other... (1 Reply)
I'm confusing with this question. :wall: Can any one tell me how to do and use which command? :confused:
create a compressed archive of the "Test" directory and it's contents, called Test.tar.gz, and place it in the current directory. Use a non-verbose tar command with a single string, including... (5 Replies)
I have written a script which generate one logfile on every sunday and thursday
I want to move the older log files into /tmp directory befor generating new one so i used mv command like
mv usr/sbin/appl/logfile.txt usr/sbin/appl/tmp
2) But when i move this file to /tmp it will... (1 Reply)
Hi,
Below are the sample data for txt files.
txt file 1
Partnumber|catgroup_id
10001082|46016
10001093|4680
10001093|386003
10001093|463004
10003251|683
10003251|63005
10003252|463005
10003252|4683
10003260|463005
10003260|4683
10003264|4683
10003264|463005
13420000|67... (5 Replies)
Discussion started by: Ankita Talukdar
5 Replies
LEARN ABOUT DEBIAN
gene2xml
GENE2XML(1) NCBI Tools User's Manual GENE2XML(1)NAME
gene2xml - convert NCBI Entrez Gene ASN.1 into XML
SYNOPSIS
gene2xml [-] [-b] [-c] [-i filename] [-l] [-o filename] [-p path] [-r path] [-t N] [-x] [-y] [-z]
DESCRIPTION
gene2xml is a stand-alone program that converts Entrez Gene ASN.1 into XML. Entrez Gene data are stored as compressed binary Entrezgene-
Set ASN.1 files on the NCBI ftp site, and have the suffix .ags.gz. These are several-fold smaller than compressed XML files, resulting in
a significant savings of disk storage and network bandwidth. Normal processing by gene2xml produces text XML files with the same name but
with .xgs as the suffix.
OPTIONS
A summary of options is included below.
- Print usage message
-b File is Binary
-c File is Compressed
-i filename
Single Input file (standard input by default) when not using -p
-l Log processing (list files processed when using -p)
-o filename
Single Output file (standard output by default) when not using -p
-p path
Path to Files (if processing an entire directory)
-r path
Path for Results when using -p; defaults to the input directory
-t N Limit to the given Taxon ID (per http://www.ncbi.nlm.nih.gov/Taxonomy/)
-x Extract .ags to text .agc (format previously distributed)
-y Combine .agc to text .ags (for testing)
-z Combine .agc to binary .ags, then gzip
AUTHOR
The National Center for Biotechnology Information.
SEE ALSO asn2all(1), asn2asn(1), asn2xml(1), asndhuff(1), /usr/share/doc/ncbi-tools-bin/gene2xml.txt.gz, /usr/share/doc/libncbi6/ncbixml.txt.gz
NCBI 2005-05-16 GENE2XML(1)