Search Results

Search: Posts Made By: triplemaya
1,044
Posted By triplemaya
Many thanks to you both. All working very nicely...
Many thanks to you both. All working very nicely now.
1,044
Posted By triplemaya
[SOLVED] Recurse directories and return random file
I have a nice program to change the background but I want it to operate on subdirectories as well.

# Script to randomly set Background from files in a directory
while true;do

# Directory...
1,560
Posted By triplemaya
Thanks for that. Not that my scripts are likely...
Thanks for that. Not that my scripts are likely to stray far from linux!
1,560
Posted By triplemaya
Thank you. This is getting much clearer. So is it...
Thank you. This is getting much clearer. So is it good practice to put in /bin/sh for the kind of script I am running, or just leave it open as I have been doing? Is the bourne shell the 'vanilla'...
1,560
Posted By triplemaya
Thanks for all the answers. So I get that the...
Thanks for all the answers. So I get that the extension is purely for human use. What difference does the shebang make? My scripts have been running ok without it. Does that mean that the system...
1,560
Posted By triplemaya
How does calling it .sh help?
Hi. I have been running some scripts ok with no extension on the name, and they work fine. What difference does it make if I call them whatever.sh? And I have some scripts starting #!/bin/bash -...
1,670
Posted By triplemaya
Root owns removable drive and rsync won't work
I'm using rsync to back up to a usb key
rsync -r -t -v -a /home/pc/AGS/ /media/DIESEL/pc/AGS/
It worked fine for a long time, and then not so good. Running from the command line there are a lot of...
13,678
Posted By triplemaya
Thanks, useful know how.
Thanks, useful know how.
13,678
Posted By triplemaya
Thank you very much, I never thought of just...
Thank you very much, I never thought of just taking that out!

For the completeness of this thread in case others are interested it has also been pointed out by someone on the other thread that all...
13,678
Posted By triplemaya
Whitespace in filenames in for loop in bash script
I'm trying to search all .odt files in a directory for a string in the text of the file.
I've found a bash script that works, except that it can't handle whitespace in the filenames.
#!/bin/bash
...
Showing results 1 to 10 of 10

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