10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I created this script for check whether specific files exist or not in the given location. but when I run this its always showing
Failed - Flag_lms_device_info_20160628.txt do not exist
Failed - Flag_lms_weekly_usage_info_20160628.txt do not exist
but both files are existing. appreciate help... (2 Replies)
Discussion started by: lfreez
2 Replies
2. UNIX for Dummies Questions & Answers
Hi unix people, i'm really a newbie and i've created a small bash to process some picture with ImageMagick.
I have just some issue and i think this script, if we can help me to correct in right way, could be useful!
Basically i have a Eyefi Card who puts files into a folder called "picture"... (1 Reply)
Discussion started by: riccardo
1 Replies
3. Shell Programming and Scripting
I have a system that uses file access to manage parallel processes. Each process checks to see if a file with a unique name that corresponds to the job it's got to do exists. If it does, it exits. If not, it creates one with that name. There is also a background process that is writing to this... (6 Replies)
Discussion started by: gmark99
6 Replies
4. Shell Programming and Scripting
I have a bunch of files that are messages in my directory. Each message has a date located in the file. How can I look into each file and find the date?
Thank you for any help (7 Replies)
Discussion started by: totoro125
7 Replies
5. Shell Programming and Scripting
I am new to the world of Linux scripting, and would like to make the following 2 scripts:
I have 67 files named Alk-0001.txt to Alk-0067.txt
I would like them to be numbered Alk-002.txt to Alk-0134.txt
eg
Alk-0001.txt > Alk-0002.txt
Alk-0002.txt > Alk-0004.txt
Alk-0003.txt > Alk-0006.txt
... (3 Replies)
Discussion started by: tollyboy_uk
3 Replies
6. Shell Programming and Scripting
#!/bin/bash
#
name=$1
type=$2
number=1
for file in ./**
do
if
then
filenumber=00$number
elif
then
filenumber=0$number
fi
tempname="$name""$filenumber"."$type"
if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies
7. Shell Programming and Scripting
Hello !
I want to join 2 files.
They look like this:
KE340296.1 1 0/0:11
KE340296.1 2 0/0:12
KE340296.1 6 0/1:13
KE340297.1 1 0/1:14
KE340297.1 3 0/1:15
KE340297.1 4 0/1:16
and
KE340296.1 1 0/0:21
KE340296.1 2 0/0:22
KE340296.1 3... (4 Replies)
Discussion started by: MumuGB
4 Replies
8. Shell Programming and Scripting
Hey guys,
Sorry for the basic question but I have a lot of files that I want to separate into groups based on filenames which I can then cat together. Eg I have:
(a_b_c.txt)
WB34_2_SLA8.txt
WB34_1_SLA8.txt
WB34_1_DB10.txt
WB34_2_DB10.txt
WB34_1_SLA8.txt
WB34_2_SLA8.txt
77_1_SLA8.txt... (1 Reply)
Discussion started by: Breentax
1 Replies
9. Shell Programming and Scripting
Hi
I've 2 folder A and B, they have files with the same name but different content.
I mean
A contain---------> aa.txt, bb.txt, cc.txt
B contain---------> aa.txt, bb.txt, cc.txt
but aa.txt in A has different content from aa.txt in B.
I'd like to parse the homonyms files in... (7 Replies)
Discussion started by: Dedalus
7 Replies
10. Shell Programming and Scripting
Hi,
I have one file stat.
Stat file contents are as follows: for example.
H50768020040913,00260100,507680,13,0000000643,0000000643,00000,0000
H50769520040808,00260100,507695,13,0000000000,0000000000,00000,0000 H50770620040611,00260100,507706,13,0000000000,0000000000,00000,0000
Now i... (1 Reply)
Discussion started by: davidpreml
1 Replies