Skip to content

Instantly share code, notes, and snippets.

View farshidhss's full-sized avatar

Farshid Hassani Bijarbooneh farshidhss

  • King
  • Stockholm
View GitHub Profile
@farshidhss
farshidhss / setTitleFromFilename.sh
Created September 6, 2020 11:16
Add filename to the title metadata for all video files in a directory
#!/usr/local/bin/zsh
for entry in *."$1"
do
Filename=${entry%.*}
echo "setting title -> " $Filename
FileTitle=$(exiftool -s -Title "$entry" | awk '{print $3}');
echo "file title: " $FileTitle
if [ "$FileTitle" = "$Filename" ]; then
echo "File title is the same as filename, skipping..."
@farshidhss
farshidhss / Unity-Tips.txt
Last active December 4, 2019 07:39
Is Unity Multithreaded?
No :(