Search Results

Search: Posts Made By: dnn
2,910
Posted By dnn
I don't mind rewriting it if it solves the...
I don't mind rewriting it if it solves the problem.

You mentioned tar could hold the original path. Could you please elaborate? How would that work?
2,910
Posted By dnn
Yeah, but I have another script which I use for...
Yeah, but I have another script which I use for restoring the files again. If I use tarball, that complicates the behavior of the restore script. Also, I'm also backing up whole folders in some...
2,910
Posted By dnn
bump /tooshort
bump /tooshort
2,910
Posted By dnn
Grouping array elements - possible?
I have a script which takes backup of some configuration files on my server. It does that by using an array which contains the complete path to the files to backup.

It copys the files to a pre...
3,452
Posted By dnn
Oh thanks so much, I didn't realize the "done"...
Oh thanks so much, I didn't realize the "done" tag could wreck it, thats why I didn't move it the first time you mentioned it.
3,452
Posted By dnn
#!/bin/bash name=`whoami` exmark="!" ...
#!/bin/bash
name=`whoami`
exmark="!"
input=""
prompt="hoose your poison: "

normal=`echo "\033[m"`
aqua=`echo "\033[36m"`
yellow=`echo "\033[33m"`
whiteOnRed=`echo "\033[41m"`
red=`echo...
3,452
Posted By dnn
I tried 'function menu {', 'menu() {' and the...
I tried 'function menu {', 'menu() {' and the example in my post - nothing works, same error.

Thanks for pointing out I'm missing "done" at the end - I have it in the script, but forgot to move it...
3,452
Posted By dnn
"function" not working
I have a bash menu script (read-based), which I'm trying to add submenus to. Long story short, for that to work I need to put part of the code into a function. However, that won't work. Shell just...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 05:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy