10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I am having files in my dir ,some times it vary ,i need to assign sequence number with gunzip the file name .Please advise
ex:
file1.gz
file1111.gz
file11111.gz
file1111111.gz
expecting out output
file_1
file1111_2
file1111111_3
i written this script ,its not working what i... (3 Replies)
Discussion started by: mohan705
3 Replies
2. Shell Programming and Scripting
Hi
My directory structure is as below.
dir1, dir2, dir3
I have the list of files to be deleted in the below path as below.
/staging/retain_for_2years/Cleanup/log $ ls -lrt
total 0
drwxr-xr-x 2 nobody nobody 256 Mar 01 16:15 01-MAR-2015_SPDBS2
drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: prasadn
2 Replies
3. Shell Programming and Scripting
I want to use case statement to find the range of missing sequence in my directory which it has some few ( dat & DAT ) files
my directory /home/arm/my_folder/20130428 contains :
f01_201304280000.DAT
f01_201304280001.DAT
f01_201304280003.DAT
f02_201304280000.dat
f02_201304280002.dat... (2 Replies)
Discussion started by: arm
2 Replies
4. Shell Programming and Scripting
Hi all,
I have a file like this
ID 3BP5L_HUMAN Reviewed; 393 AA.
AC Q7L8J4; Q96FI5; Q9BQH8; Q9C0E3;
DT 05-FEB-2008, integrated into UniProtKB/Swiss-Prot.
DT 05-JUL-2004, sequence version 1.
DT 05-SEP-2012, entry version 71.
FT COILED 59 140 ... (1 Reply)
Discussion started by: manigrover
1 Replies
5. Shell Programming and Scripting
Hi All,
Please help me in below request.
Got multiple files in a dir ex: /os . from each file need to filter based upon first field (field only has 1,2,3 or 4) and then put it in different files based on the Field 1. But need to generate a sequence while inserting and the sequence number needs... (1 Reply)
Discussion started by: rdakshn
1 Replies
6. Shell Programming and Scripting
Hello all,
I have several directories with a sequence of files like this
IM-0001-0001.dcm
IM-0001-0002.dcm
IM-0001-0003.dcm
IM-0001-0004.dcm
IM-0001-0005.dcm
I would like to print out the name of the file that is missing.
I currently have the following ineffecient way to do this... (4 Replies)
Discussion started by: avatar_007
4 Replies
7. Shell Programming and Scripting
Hi, all:
Newbie questions:
For example, if I have 6 files, respectively named as:
How to "ls" all files in sequence of two ways?
1) The first way is according to the sequence of the natural number.
Say, the same sequence as shown as they are given.
2) The second way is default... (2 Replies)
Discussion started by: jiapei100
2 Replies
8. Shell Programming and Scripting
Hi Guys,
i have two files:
fileA:
20090611 00:00:11
20090611 00:00:11
20090611 00:00:24
20090611 00:01:10
20090611 07:13:00
fileB:
20090611 00:00:01
20090611 00:00:12
20090611 00:00:24
20090611 00:01:12
20090611 09:13:00
want to make two files into a single file, but follow the... (14 Replies)
Discussion started by: jimmy_y
14 Replies
9. Shell Programming and Scripting
Hi,
My requirement is i need to touch a sequence of files like
touch a
touch b
touch c
now i need the script in a way that checks if all files are touched or not.
if any file say b is not touched then i should get this notification.
Please suggest as i am new to unix (2 Replies)
Discussion started by: sussane
2 Replies
10. UNIX for Dummies Questions & Answers
I have a bunch of files below in some directory /home/tmp:
abc.txt
def.txt
ghi.txt
And I want to rename them with sequence as their extension (in the format 00# see below):
abc.001
def.002
ghi.003
I need some help with this and below is a basic code structure to get... (3 Replies)
Discussion started by: ChicagoBlues
3 Replies