Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: How to save YouTube videos from cache' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: How to save YouTube videos from cache
Authored by: rbrtrx on Oct 07, '08 08:33:35AM

A little shell scripting can make this a bit more convenient:

for f in /var/folders/*/*/TemporaryItems/FlashTmp*; do
  cp "$f" ~/Desktop/"$f".flv
done

That way you don't have to figure out which folder it's in; the globs will do that for you. Yay globs!



[ Reply to This | # ]
10.5: How to save YouTube videos from cache
Authored by: jaysoffian on Oct 07, '08 08:37:36AM
From Terminal.app:

% echo "$TMPDIR"
will give you your current temporary directory. You can open a Finder window to the directory with:

% open "$TMPDIR"


[ Reply to This | # ]
10.5: How to save YouTube videos from cache
Authored by: rbrtrx on Oct 07, '08 09:04:38AM

Thanks, I didn't know that.



[ Reply to This | # ]
10.5: How to save YouTube videos from cache
Authored by: rbrtrx on Oct 07, '08 09:06:26AM

That cp line should have been:

cp "$f" ~/Desktop/$(basename "$f").flv


[ Reply to This | # ]