Sponsored Content
Full Discussion: Z Script
Top Forums UNIX for Dummies Questions & Answers Z Script Post 302082933 by mazda on Thursday 3rd of August 2006 04:44:44 PM
Old 08-03-2006
Script

If anyone can help me with any type of linux script at all I would be greatful.

I have a new linux server box, I need to write a script that when the box recieves a file from a ftp site, it creates a file content file and uploads its to a website. A little like the torrent files work. I.E create a torrent and upload it to site.

Thanks in advance

Mazda
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

create a shell script that calls another script and and an awk script

Hi guys I have a shell script that executes sql statemets and sends the output to a file.the script takes in parameters executes sql and sends the result to an output file. #!/bin/sh echo " $2 $3 $4 $5 $6 $7 isql -w400 -U$2 -S$5 -P$3 << xxx use $4 go print"**Changes to the table... (0 Replies)
Discussion started by: magikminox
0 Replies

2. Shell Programming and Scripting

Script will keep checking running status of another script and also restart called script at night

I am using blow script :-- #!/bin/bash FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not if then # echo "process found" exit 0; else echo "process not found" exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
1 Replies

3. UNIX for Dummies Questions & Answers

Calling a script from master script to get value from called script

I am trying to call a script(callingscript.sh) from a master script(masterscript.sh) to get string type value from calling script to master script. I have used scripts mentioned below. #masterscript.sh ./callingscript.sh echo $fileExist #callingscript.sh echo "The script is called"... (2 Replies)
Discussion started by: Raj Roy
2 Replies

4. Shell Programming and Scripting

Shell script works fine as a standalone script but not as part of a bigger script

Hello all, I am facing a weird issue while executing a code below - #!/bin/bash cd /wload/baot/home/baotasa0/sandboxes_finance/ext_ukba_bde/pset sh UKBA_publish.sh UKBA 28082015 3 if then echo "Param file conversion for all the areas are completed, please check in your home directory"... (2 Replies)
Discussion started by: ektubbe
2 Replies

5. Shell Programming and Scripting

How to block first bash script until second bash script script launches web server/site?

I'm new to utilities like socat and netcat and I'm not clear if they will do what I need. I have a "compileDeployStartWebServer.sh" script and a "StartBrowser.sh" script that are started by emacs/elisp at the same time in two different processes. I'm using Cygwin bash on Windows 10. My... (3 Replies)
Discussion started by: siegfried
3 Replies
FLUSH(1)						      General Commands Manual							  FLUSH(1)

NAME
Flush - GTK-based BitTorrent client SYNOPSIS
flush [OPTIONS] [TORRENT_FILE]... DESCRIPTION
Flush is a GTK-based BitTorrent client. You can use it to download files from the BitTorrent network. You can control already running instance, for example, by following commands: flush -o --download-rate-limit=100 flush --start=all FEATURES
* Controlling running instance by command line interface, such as: * Starting/stopping torrents. * Changing download/upload rate limit. * Changing maximum connections limit. * Running many instances with different configs from the same user. * Automatic copying finished downloads to specified directory. * Setting custom download path for each file of the torrent. * Ability to choose torrent file's character set encoding. * Automatic torrents loading from specified directory. * Automatic pausing and removing old torrents. * Temporary pausing and resuming torrents. * Overall and current session statistics. * Creating your own torrent files. * IP filter. OPTIONS
--version Show program version and exit. --help Show help options and exit. --config=DIRECTORY Configuration directory path (default: ~/.flush). --download-rate-limit=SPEED Set download rate limit (KB/s). --upload-rate-limit=SPEED Set upload rate limit (KB/s). --max-uploads=NUMBER Set maximum uploads. --max-connections=NUMBER Set maximum connections. --start={all,downloads,uploads} Start torrents. --stop={all,downloads,uploads} Stop torrents. -o, --only-pass Only pass commands to already running Flush instance. Does not start new instance if it is not running yet. FILES
~/.flush Default configuration directory. BUGS
On startup Flush finds already running instances via DBus session bus. Therefore it is necessary to run Flush in a single session bus (usual in X session bus) to prevent running several instances with one configuration path. Please notice that when you are running Flush from console or by cron, when DISPLAY environment variable is not available, Flush finds already running GUI instance without problems via ${config_path}/dbus_session link, which all GUI instances are creating when they have owned DBus name. This makes it possible to control running Flush GUI instances from cron. AUTHOR
Flush was written by Dmitry Konishchev <konishchev@gmail.com>. This manual page was written by Dmitry Konishchev <konishchev@gmail.com>. Jun 11, 2009 FLUSH(1)
All times are GMT -4. The time now is 11:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy