Created
May 24, 2012 23:18
-
-
Save ihashacks/2784834 to your computer and use it in GitHub Desktop.
Backup for All Your Facebook Pictures and Captions using FBCMD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `\ | |
php fbcmd.php albums | \ | |
awk ' { print $1 } ' | \ | |
sed -e 's/[[:punct:]]//g' -e '/^$/d' \ | |
` ; do \ | |
mkdir -p pics/$i ;\ | |
php fbcmd.php apics $i pics/$i ;\ | |
done \ | |
> captions.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
whitespace is your friend