0
votes
1answer
32 views

Writing a bash script to execute/automate install of drivers

i'm trying to write a script to automate the install of TV card drivers (for some reason i have to re-install after each ubuntu update). Would this work? I've tried it but it doesn't look like it's ...
0
votes
1answer
27 views

Create a clickable install script for software

I want to create a simple script that a user can download, click on, and it will: request their root password through some sort of pop-up interface then sudo apt-get install a package to their ...
1
vote
2answers
71 views

How to automate my startup?

I am not sure how I am supposed to automate such delicate tasks on my daily routine. Let me describe it: open Sublime Text in first desktop open Chrome in second open two terminal windows in third, ...
2
votes
2answers
107 views

How to create scripts that create another scripts

I am writing an script that needs to generate another script that will be used to shutdown an appserver... This is how my code looks like: echo "STEP 8: CREATE STOP SCRIPT" stopScriptContent="echo ...
0
votes
0answers
197 views

Converting all .sub to .srt with framerate

I wan't to convert all .sub (microdvd and subrip) to .srt (subviewer) format that my player uses. I made this little bash script that searches for the filenames starting with given keyword and uses ...
1
vote
1answer
1k views

Auto confirm when running bash scripts?

I am working on a simple bash script that configures new servers how I want them. It's nothing special but it will hopefully save me quite a lot of time in the future. How do I prevent prompts like ...
1
vote
1answer
2k views

automate transfer of tar files over FTP

Every day I have a script making .tar files of aparticualr directory. Once every day, I would like to transfere the new tar file made that day to a remote server over FTP. I would like to make this ...
1
vote
1answer
191 views

Scripting question (youtube-dl and xclip)

I have youtube-dl and xclip installed. Is there a way I could write a script that can run commands from both? For example: youtube-dl -l --extract-audio (url) but instead of pasting a url could I ...
0
votes
1answer
154 views

Using a custom list for autocompletion (e.g., a list of files)

what I would like to do is when I write inside on console a command, for example. ls file1.txt folder1 folder2 then I write cd (I hit some magic shortcut and I can access using down ...
3
votes
2answers
1k views

How to create daily job without write access to /etc?

I don't have write permissions to /etc and its sub folders, but even do I would like to have bash script that is executed every morning. How to set it up? also when i type cron in command line I get ...
2
votes
5answers
167 views

Setup a service that auto-magically deletes specific files from a folder

I have a folder that connects to a hardware weather logger. The data is pretty huge, and I only wish to keep the last 5 hours worth of data. This folder; however, has also some config files such as ...