03-11-2010
Quote:
Originally Posted by
Shan_u2005
fixpart="/etc/usr/transfer_script # transferring to a system"
The fixpart is a variable which is being assigned the value,
/etc/usr/transfer_script # transferring to a system
What the script does is it is adds an entry for the transfer_script to the mycron file with the desired frequency of execution.
Hi Shan,
That makes sense. Thanks. So now we have these two lines,
crontab -l | grep -v "transferring to a system" | grep -v "Auto deletion of transmitted objects" | grep -v "Dealing with not importable" > mycron
fixpart="/etc/usr/transfer_script # transferring to a system"
The only common thing is the text "transferring to a system". Does this mean that mycron consists of a job named "transferring to a system" which is executed by the transfer_script file ?
Last edited by angshuman_ag; 03-11-2010 at 11:29 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Friends,
I am new to the scripting & have to analyze bunch of regular production scripts. It has .ksh which calls on the .awk script having many functions
I need to understand and debug the scripts ASAP
Can anybody please let me know as how can I debug, I want to see the flow of code... (3 Replies)
Discussion started by: amberj123
3 Replies
2. Shell Programming and Scripting
#! /usr/bin/ksh
old=$1
new=$2
for file in *.$old ; do
mv $file ${file%$old}$new
done
exit 0
This script i got from the forum. script changes the extension of the files say example
a.txt to a.doc
b.txt to b.doc
c.txt to c.doc
d.txt to d.doc
this scipt works fine but i am not... (2 Replies)
Discussion started by: vijays3
2 Replies
3. Shell Programming and Scripting
Need a better understanding of shell scripts (14 Replies)
Discussion started by: sureshkumar4737
14 Replies
4. Shell Programming and Scripting
Can someone explain what is happening line by line in this script, particularly after the do statement. The script works, it renames all the files in my directory that has a date in the file name. But I would like to know more about it.
#!/bin/bash
newdate=12-10-1995
for file in *--*
do
... (6 Replies)
Discussion started by: Harleyrci
6 Replies
5. Shell Programming and Scripting
Hi
I have wrote the small script, where $SRC=$HOME
the input file is simple text file having directories in my $SRC on pre line
desktop
download
myfiles
games
#!/bin/bash
FILENAME=$1
ERROR_LOG="$SRC/err.$$.log"
while read line
do
echo "########## strat Gmake $line... (6 Replies)
Discussion started by: the.reverser
6 Replies
6. Shell Programming and Scripting
Can Anybody please tell me the meaning of the script:
#!/bin/sh
str=$@
echo $str | sed 's/.*\\//'
exit 0 (6 Replies)
Discussion started by: nixhead
6 Replies
7. Shell Programming and Scripting
Hi Gurus,
Im new to Shell scripting. I have a shell script which basically sends an email when called thorugh my ETL tool. Wanted to understand the its functionality in detail. Would be great it any one can explain what exactly the commands to
#!/bin/sh
# Dummy UUCP rmail command for... (1 Reply)
Discussion started by: r_t_1601
1 Replies
8. Shell Programming and Scripting
Am still learning Scripting and I come across a build command that I don't really understand
if /local/bin/wsname 2>/dev/null; then
base="`/local/bin/wsname`"
export base
fi
if ; then
/local/bin/wsname
exit 1
fi
WSNAME="$base"/
can some one in light me to what... (1 Reply)
Discussion started by: Wpgn
1 Replies
9. Shell Programming and Scripting
Could someone please help me in understanding the code below:
#!/usr/bin/ksh
Month=`date|cut -c5-7`
Day=`date|cut -c9-10`
Year=`date|cut -c27-28`
Rom2Jul() { case $Month in Feb) Day=$(( $Day+31 ));;
Mar) Day=$((... (27 Replies)
Discussion started by: hasn318
27 Replies
10. UNIX for Beginners Questions & Answers
Below script is called as Reducer, I am not sure how it work, can some expert explain me what this script does as i am a beginner.
inputfile:
hi hi how are are you
code:
#!/bin/bash
lastkey=""; -- what does this mean, because i saw in debug mode it is taking value as hi
count=0;... (13 Replies)
Discussion started by: mirwasim
13 Replies
LEARN ABOUT DEBIAN
bluetooth-sendto
BLUETOOTH-SENDTO(1) Linux User's Manual BLUETOOTH-SENDTO(1)
NAME
bluetooth-sendto - GTK application for transferring files over Bluetooth
SYNOPSIS
bluetooth-sendto [--device=XX:XX:XX:XX:XX:XX [--name=NAME]] [file...]
DESCRIPTION
bluetooth-sendto will display a dialog for transferring files over Bluetooth. bluetooth-sendto is part of gnome-bluetooth, see also
http://live.gnome.org/GnomeBluetooth
OPTIONS
--device
Define the device address to send the file(s) to. If omitted a chooser will be displayed.
--name Define the device name to send the file(s) to. If omitted it will be auto detected.
file The file(s) to send to the device. If omitted a chooser will be displayed.
AUTHOR
Marcel Holtmann <marcel@holtmann.org>
LICENSE
bluetooth-sendto is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABIL-
ITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
gnome-bluetooth May 6, 2012 BLUETOOTH-SENDTO(1)