Ask Dave Taylor
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube
  • Home
  • Videos
  • Most Popular
  • Top Categories
  • Books
  • About Dave
  • Ask Me
  • > Donate <
  • Home
  • Linux Shell Script Programming (Page 2)

Linux Shell Script Programming

Can I analyze EXIF information on the Mac OS X command line?

January 1, 2014 / Dave Taylor / HTML & Web Page Design, Linux Shell Script Programming, Mac & MacOS Help / 7 Comments
mac command line exif mdls

I’m learning how to write shell scripts on my Mac OS X Mavericks system and would like to identify and extract specific information from the EXIF information in photos. Is that possible from the Bash shell command line?

View Answer »

Stealth image capture photo from webcam on my Mac?

April 19, 2013 / Dave Taylor / Linux Shell Script Programming, Mac & MacOS Help / 6 Comments

Someone sneaks into my cubicle while I’m at lunch and takes candy out of my desk. Petty, but stupid too. I want to set up something so that my webcam on my iMac takes photos every few seconds while I’m away from my desk so I can catch the culprit! How can I do that in a stealthy manner while the computer is otherwise asleep?

View Answer »

Secretly capture screenshots on my Mac?

April 16, 2012 / Dave Taylor / Linux Shell Script Programming, Mac & MacOS Help / No Comments

When I used to work on a Linux system, there was a utility we had that would let me take screen captures every 30 seconds while my computer was otherwise unattended, as a way to see if anyone else was using it or not. I liked it. Now I’d like to do the same on my Mac system. Possible?

View Answer »

Parsing “id” strings in a Shell Script?

January 19, 2012 / Dave Taylor / Linux Shell Script Programming

Hello Dave. I need a Bash shell script that creates a directories with the group names automatically when user logs in to the system, in their home directory.
For example, user “sandy” might have the following set of groups from the ‘id’ command:
uid=10002(sandy) gid=119(rtkit) groups=119(rtkit),10001(admin),10003(pr007drdl)
and the directories “rtkit”, “admin” and “pr007drdl” should then be created. How do I do it?

View Answer »

Copy and Paste from the Mac OS X Command Line?

January 3, 2012 / Dave Taylor / Linux Help, Linux Shell Script Programming, Mac & MacOS Help / 1 Comment

I am constantly running commands in Terminal.app on my MacBook and then copying and pasting the results into email messages or documents. Yes, I’m a tech writer. What I’m wondering is if there’s any way to actually copy and past into the Mac system wide copy/paste buffer directly from the command line?

View Answer »

Script to test line lengths for Twitter compatibility?

November 21, 2011 / Dave Taylor / Linux Shell Script Programming, Mac & MacOS Help / 3 Comments

I’ve been tasked with writing a series of tweets for a Black Friday marketing campaign and am finding it a bit tricky because I don’t know how to easily check line length for a long series of lines. I’m on a Mac and can get around in Terminal. Is there some script you can share with me to check this, Dave?

View Answer »

Shell script to convert lowercase to title case?

March 14, 2011 / Dave Taylor / Linux Help, Linux Shell Script Programming / 3 Comments

As part of a project I’m working on, I find myself deep in a Linux shell script, needing to have a subroutine that converts a sentence of all lowercase to title case. You know, from “this is a test case” to “This is a Test Case”. Not every word, just the right ones. Doable?

View Answer »

Can I script renaming files based on an XML data map?

November 3, 2010 / Dave Taylor / Linux Help, Linux Shell Script Programming / No Comments

I have a folder full of files which are named with four digits and a file extension e.g. 0312.file and an XML-file describing the contents of these files. I am trying to do a shell scipt that will create folders and rename these files according to the xml, but I don’t know how?
This is a template of what the xml looks like:
<section label=”AA. category”>
<children label=”topic” source=”AABB.file” />
</ section>
The script should represent the categories as folders containing the related topics, which should be represented as filenames.

View Answer »

‹1234›»

Search

Recent Posts

  • How to Get Screen Captures in ChromeOS on a Chromebook?
  • Is There a Way to Scan And Paste OCR’d Text within Android?
  • How Can I Remove All Colors From A Graphic Logo?
  • Access a History of the Copy/Paste Clipboard Buffer in Windows 10?
  • Can I Scan and Sign Documents With My iPhone?

On Our YouTube Channel

One by Wacom -- Student Drawing Tablet -- DEMO & REVIEW

Casio EDIFICE EQB-1100XDC-1A "Green" Watch -- REVIEW

Categories

  • AdSense, AdWords, and PPC Help (106)
  • Amazon Echo & Kindle Help (79)
  • Amazon, eBay, and Online Shopping Help, (158)
  • Android Help (162)
  • Apple Watch Help (49)
  • Articles, Tutorials, and Reviews (329)
  • Business Advice (193)
  • Computer & Internet Basics (728)
  • d) None of the Above (160)
  • Facebook Help (366)
  • Google, Chrome & Gmail Help (159)
  • HTML & Web Page Design (243)
  • Instagram Help (44)
  • iPad Help (137)
  • iPhone & iOS Help (573)
  • iPod & MP3 Player Help (173)
  • LinkedIn Help (79)
  • Linux Help (150)
  • Linux Shell Script Programming (86)
  • Mac & MacOS Help (838)
  • Most Popular (14)
  • Outlook & Office 365 Help (14)
  • PayPal Help (68)
  • Pinterest Help (53)
  • Reddit Help (13)
  • SEO & Marketing (80)
  • Spam, Scams & Security (85)
  • Trade Show News & Updates (23)
  • Twitter Help (212)
  • Video Game Tips (66)
  • Web Site Traffic Tips (62)
  • Windows 10 Help (836)
  • Wordpress Help (201)
  • Writing and Publishing (72)
  • YouTube Help (43)
  • YouTube Video Reviews (159)
  • Zoom, Skype & Video Chat Help (45)

Archives

Social Networks…

Ask Dave Taylor

Follow Me on Pinterest
Follow me on Twitter
Follow me on LinkedIn
Follow me on Instagram


AskDaveTaylor on Facebook

microsoft insider mvp


This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to our terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. Our lawyer says "Thanks for your cooperation."
© 2020 by Dave Taylor. "Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.
Privacy Policy - Terms and Conditions - Accessibility Policy