LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2018, 05:41 PM   #46
ericlindellnyc
Member
 
Registered: Jun 2017
Posts: 38

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by ondoho View Post
what instructions?
i never said that.
you really have to start troubleshooting your own scripts instead of asking question after question ("what will happen if i do this?").
a good trick is to prepend the crucial command (ffmpeg...) with 'echo' - that way you can see how strings are xpanded, but nothing really happens.
if that doesn't help, add 'set -x' to the top of your script, just below #!/bin/bash.

ericlindellnyc, i wanted to pm you but it seems you have that feature disabled.
just wanted to say that one or more contributors to this thread might be on my ignore list.
this might lead to situations where i state something that has already been stated.
i mention this just in case you're confused.
I didn't even know re the pm feature. Now I do.

There's only one other person consistently in this thread,
whom you have acknowledged (I think) and verse visa.
 
Old 06-21-2018, 05:46 PM   #47
ericlindellnyc
Member
 
Registered: Jun 2017
Posts: 38

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
This maybe overloading your brain, just strip off what you do not need, by commenting it out first to make sure you do not need it, before removing it, and make changes to the code you do need in order to conform to your needs.

echo is a useful tool when dealing with bash scripting, or set -x

and yes of course parts of this can be written differently to get the same end results. That's a beauty of programming.
My brain was overloaded half way down the first page of this thread.
But that's a good thing.

I had forgotten how to use echo; it's extremely useful.
I will make frequent use of it as I proceed.

Many thanks.
 
  


Reply

Tags
ffmpeg, jpg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Deleting the source directory and build directory after compiling each package ganiz Linux From Scratch 5 01-11-2018 02:02 AM
shorten long paths in deeply nested directory structure ericlindellnyc Linux - Newbie 16 08-18-2017 01:22 AM
[SOLVED] ls: cannot access *.{jpg,png}: No such file or directory angel'le Programming 5 09-28-2013 09:21 PM
on make -j 2.. executing default commands.prints..leaving directory Error 2 manoj7410 Linux - Distributions 5 06-15-2012 11:08 PM
[SOLVED] Need to copy all .jpg images in subdirectories to a specific directory sikanders Linux - Newbie 5 08-06-2010 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration