01-17-2013
Creating an script to automate on mac
First of all, i'm sorry if this topic isn't in the right place, I have a Mac and I've read that is unix based, that's why I'm writing here.
I'm trying to "create" a script with which i will be able to download any Tv Show automatically and then rename it.
I'm using for that goal the following programs:
- Tv Shows 2, which allows you to automatically add to your torrent app torrents of the new episodes of the tv shows you are subscribed.
- Filebot. A renamer which uses thetvdb to get the name of the episodes.
- Transmission. Torrent client
I've been searching and I found that if make transmission to execute a script after downloading each torrent, I will be able to do what I like. And seaching again, I found that the script that will tell filebot to do that is something like this:
filebot -rename "$TR_TORRENT_DIR/$TR_TORRENT_NAME" --db thetvdb -non-strict
My question, so, is the following: How do I create a script that can do that?
Thank you very much and sorry again if it is misplaced.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to use a here document to automate testing a perl script however when the perl script hits a system(perl subscript.pl) call, input is no longer entered into this subscript.
here is my script
$ cat test.sh
#ksh
for testcase
do
program <<-EOF | tee -a funcscnlog.log
y... (3 Replies)
Discussion started by: hogger84
3 Replies
2. UNIX for Advanced & Expert Users
I would like to automate script where i do not have to manually insert the username and password I wrote two different scripts but not able to achieve the results: here's to scripts i wrote
#!/bin/bash
cd /var/tmp
/home/server/steve/pca --askauth -idx
/opt/app/bin/expect <<EOF
expect... (1 Reply)
Discussion started by: sam786
1 Replies
3. Shell Programming and Scripting
Hi,
Can someone help me with creating a bash shell script.
I need to create a script that gets a positive number n as an argument.
The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies
4. Shell Programming and Scripting
Hi All,
Can I automate a script when some one trying to 'vi' (open) a file.
For Example, I am having a file named 'SecuredShell.sh'.
when a user types " vi SecuredShell.sh " in unix command prompt a script named secure.sh needs to be automated.
Can this be possible. if Yes please guide... (2 Replies)
Discussion started by: little_wonder
2 Replies
5. Shell Programming and Scripting
Hi,
Here below the logs from the mail server:
less /var/log/messages:
Sep 6 04:03:31 server-59 out: 1252227811|webmaster@zilia.com|antonino.granata@gmail.com|2175|success|1
Sep 6 04:03:33 server-59 in: 1252227813|news@tarot.com|junk@thess.com|30376|success|1
Sep 6 04:03:35 server-59... (8 Replies)
Discussion started by: gsiva
8 Replies
6. Windows & DOS: Issues & Discussions
Dear all,
I I want to login to my Linux machine using putty and then run some script from Windows machine.we can do it after loging it and then execute the script by typing it in putty command line screen. but I want to automate it.So whenever I will fire this script,it will do the following... (4 Replies)
Discussion started by: smartgupta
4 Replies
7. UNIX Desktop Questions & Answers
For preliminaries, I am on a Mac Pro running 10.5. I am trying to run a program that opens an X11 graphic and plots a mesh. The little program is called showme. It has worked just fine in the past. Up until I had to make a new user account on this machine for myself. Now every time I try to... (8 Replies)
Discussion started by: Bocephus85
8 Replies
8. OS X (Apple)
Hello,
I am new to Mac OSX and shell scripting all together. I was wondering if anyone could help get me started in a few scenarios so that I would be able to automate checking a system against a STIG checklist. A STIG Checklist is a DoD Guideline for securing systems. Here is the first... (3 Replies)
Discussion started by: john3j04
3 Replies
9. Shell Programming and Scripting
Hi,
I am trying to create a shell script to automate the following process of getting svn stats:-
Step1:- cd to checkout location.
Note that the checked code have multiple modules in respective folders
Step2:- Execute this command inside each module:-
svn log -v --xml >... (0 Replies)
Discussion started by: d8011
0 Replies
LEARN ABOUT SUSE
transmission-gtk
TRANSMISSION-GTK(1) BSD General Commands Manual TRANSMISSION-GTK(1)
NAME
transmission-gtk -- a bittorrent client
SYNOPSIS
transmission-gtk -?
transmission-gtk [-pqm] [torrent-file ...]
DESCRIPTION
transmission-gtk is a fast and easy BitTorrent client.
BitTorrent is a peer-to-peer file transfer protocol which uses a metainfo file (usually with the .torrent file extension) and a central
tracker to distribute file data amongst a group of peers. For more information on the BitTorrent protocol see http://www.bittorrent.org/
OPTIONS
-? --help
Show help options
-p --paused
Start with all torrents paused
-m --minimized
Start minimized in notification area
-g, --config-dir directory
Where to look for configuration files. This can be used to swap between using the cli, daemon, gtk, and qt clients. See
http://trac.transmissionbt.com/wiki/ConfigFiles for more information.
Multiple .torrent files may be added at startup by appending them on the command line. If transmission-gtk is already running, the torrents
will be added to the running instance.
ENVIRONMENT
TRANSMISSION_HOME
Sets the default config-dir.
http_proxy libcurl uses this environment variable when performing tracker announces. If set, this overrides the GNOME proxy preferences.
FILES
~/.config/transmission
The config-dir used when neither [TRANSMISSION_HOME] nor [-g] is specified.
AUTHORS
transmission-gtk was written by Jordan Lee, Josh Elsasser, Eric Petit, and Mitchell Livingston.
SEE ALSO
transmission-create(1), transmission-daemon(1), transmission-edit(1), transmission-gtk(1), transmission-qt(1), transmission-remote(1),
transmission-show(1)
http://www.transmissionbt.com/
BSD May 20, 2008 BSD