MacBook, defective by design banner

title:
Put the knife down and take a green herb, dude.


descrip:

One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com

Using 89% of the same design the blog had in 2001.

FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white.

As an Amazon Associate, I earn from qualifying purchases. Affiliate links in green.

x

MarkUpDown is the best Markdown editor for professionals on Windows 10.

It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support.

Features you won't find anywhere else include...

You've wasted more than $15 of your time looking for a great Markdown editor.

Stop looking. MarkUpDown is the app you're looking for.

Learn more or head over to the 'Store now!

Saturday, March 06, 2021

You're doing this at your own risk. If you think you might want to vet each step, you should. 

Worked for me. Your mileage may vary.

  1. Download exiftool, an open-source, Perl [sic]-powered tool
  2. Install the exe somewhere and get its location
  3. Create a .bat file with this content (hat tip):
    • for %%v in (*.%1) do c:\path\to\exiftool.exe -all= "%%v"
    • If you want it to recursively spider down folders, use this:
      • for /r %%v in (*.%1) do c:\path\to\exiftool.exe -all= "%%v"
  4. Call the .bat file in the folder where you have the images
    • C:\path\to\myBat.bat jpg
    • Note that this does one extension at a time but you can enter * instead to do every file (including non images) in the directory
      • C:\path\to\myBat.bat *
    • You could also rewrite that bat command to look for common file extensions.
  5. Profit.
Exif has a lot of crappy stuff. I was getting ready to post some PodSwap pictures and didn't necessarily want to let you know where I took them. This seems to have gotten rid of it.

Labels: , , ,


posted by ruffin at 3/06/2021 01:03:00 PM
Friday, April 03, 2015

Watching files grow to see when a process that's writing to them ends is a little like watching grass grow. But there are easier ways than ls -alF followed by arrow up, return, followed by arrow up, return, followed by arrow up, return... This is really neat -- if you add a -d for the first option (differences), you can get the changes in the command highlighted in realish time too, which is awesome.

http://stackoverflow.com/questions/18645759/tail-like-continuous-ls-file-list/18645991#18645991

You can use the very handy command watch

watch -n 10 "ls -ltr"

And you will get a ls every 10 seconds.

And if you add a tail -10 you will only get the 10 newest.

watch -n 10 "ls -ltr|tail -10"

So watch -d -n 10 "ls -ltr|tail -10" ftw.

Also neat was to learn a bit more about tail and how it is less "tail end of the file" as much as it is, "Put a tail on that file and tell me where it goes." Every time the file updates, bam, you get the lines that were appended. That's cool.

http://unix.stackexchange.com/a/45628/87389

You can use tail command with -f :

tail -f /var/log/syslog

It's good solution for real time show.

Labels: , , ,


posted by ruffin at 4/03/2015 02:00:00 PM

<< Older | Newer >>


Support freedom
All posts can be accessed here:


Just the last year o' posts:

URLs I want to remember:
* Atari 2600 programming on your Mac
* joel on software (tip pt)
* Professional links: resume, github, paltry StackOverflow * Regular Expression Introduction (copy)
* The hex editor whose name I forget
* JSONLint to pretty-ify JSON
* Using CommonDialog in VB 6 * Free zip utils
* git repo mapped drive setup * Regex Tester
* Read the bits about the zone * Find column in sql server db by name
* Giant ASCII Textifier in Stick Figures (in Ivrit) * Quick intro to Javascript
* Don't [over-]sweat "micro-optimization" * Parsing str's in VB6
* .ToString("yyyy-MM-dd HH:mm:ss.fff", CultureInfo.InvariantCulture); (src) * Break on a Lenovo T430: Fn+Alt+B
email if ya gotta, RSS if ya wanna RSS, (?_?), ยข, & ? if you're keypadless


Powered by Blogger etree.org Curmudgeon Gamer badge
The postings on this site are [usually] my own and do not necessarily reflect the views of any employer, past or present, or other entity.