Search Results

Search: Posts Made By: Simplify
2,212
Posted By Simplify
I am working with the following at present. ...
I am working with the following at present.

for filename in $@; do ((video=tv=0))
[[ "$filename" = *@(.mkv|.mp4|.m4v|.avi) ]] && video=1
[[ "$filename" = *[Ss]+([0-9])?(.)[Ee]+([0-9])*...
2,212
Posted By Simplify
Fantastic @Chubler_XL - thank you! This is...
Fantastic @Chubler_XL - thank you!

This is very much in line with my thinking/wanted :D

One question how do I change the script to handle if the file names have spaces in the name/string?
...
2,212
Posted By Simplify
I have been trying to get this pattern match to...
I have been trying to get this pattern match to work for starters and it is doing my head in....

fileInput=$(printf "$1" | sed -n '/\([sS][0-9][0-9][eE][0-9][0-9]\)/p')
if (( -z $(printf "$1" |...
2,212
Posted By Simplify
Hi Robin, Thanks for taking the time to...
Hi Robin,

Thanks for taking the time to respond.

No this is not home or assignment - just something I would like to do to continue to automate my processes.

I have been reading some forums...
2,212
Posted By Simplify
Help with detect with regex and move script
Hi all,

I am needing some help with a script that will search for a video file by known extensions and then do a pattern search (I'm guessing via regex) and then based on a match of one type of...
2,098
Posted By Simplify
New script requirement advise :)
Hi @bakunin

Ok, I have a new scripting requirement that I wanted to run by you...

I have a 3rd party script that pulls metadata from imdb.com and gives it to me in a clean text format. Now I...
2,098
Posted By Simplify
Sounds good i am going to get into some more...
Sounds good i am going to get into some more scripting over the next few weeks ;-)

The important thing i like about KSH is POSIX compliant! :) :b:




Funny you mention books I was looking at...
2,098
Posted By Simplify
Hi bakunin, Thanks for your time and...
Hi bakunin,

Thanks for your time and comments - they are welcomed :-)

I did have a go at some more structured programming in formal programming in Pascal, C and basic (as well as some others)...
2,098
Posted By Simplify
I agree with both of you regarding your comments...
I agree with both of you regarding your comments and i will post a more detailed response shortly.

---------- Post updated at 01:35 PM ---------- Previous update was at 01:34 PM ----------

Now...
2,098
Posted By Simplify
Thanks again Stomp, that has certainly explained...
Thanks again Stomp, that has certainly explained things. I have been looking at the operations you provide, however, I was still having some problems with the syntax. With your example, I now...
2,098
Posted By Simplify
Thanks Stomp! Apologies for not explaining...
Thanks Stomp!

Apologies for not explaining the process in the first place... you are 100% correct on the purpose of the script that I will then using in conjunction with Conky.

In fact, since...
2,098
Posted By Simplify
Help with refining script
Happy new year all!

I would like to ask for some assistance refining the script I have put together below. I am a noob with bash scripting and still getting used to all the options available...
Showing results 1 to 12 of 12

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