The following describes how the various *PIC preferences are used: Output Display:PHOTO URL: Photos on facebook have two possible URLs: the SRC and the LINK:
PHOTO DATE: The Creation Date for the photo (or album) can also be shown. This is the date the photo was uploaded to Facebook. Set the pic_show_date (-pd) to "1" if you'd like to display the date. The pic_dateformat (-pdf) preference will determine how that date is displayed. Saving Photos:If you would like to save the photos to your local drive, specify a Save Directory to one of the *PIC commands. SKIPPING or OVERWRITING PHOTOS: If the pic_skip_exists (-pskip) preference is "1", then the photo is skipped if the destination filename already exists, otherwise the photo will be overwritten. Note that the PPICS command does not use this preference, as the purpose is to get the latest profile picture. FILENAME: The filename is determined by the apics_filename (-af), fpics_filename (-ff), opics_filename (-of) & ppics_filename (-pf) preferences. The filename can have special keywords. For example, the filename "[pid].jpg" will use the photo id for the filename. The following keywords are allowed:
The keywords can be used together and with directories "/" as well. Examples: fbcmd OPICS ="Bob" C:\photos "-of=[oname]/[aid]-[pid].jpg" will save photos as: c:\photos\Bob Smith\1111111-222222.jpg c:\photos\Bob Smith\1111111-333333.jpg c:\photos\Bob Smith\2222222-444444.jpg c:\photos\Bob Jones\5555555-666666.jpg NEW DIRECTORIES: The *PIC commands will create new subdirectories if the auto_mkdir preference is "1". In unix/Mac, the directory permissions of the new directories are determined by the mkdir_mode preference. PHOTO SIZE: The size of the photo downloaded is determined by the pic_size (-psize) preference. Note: The PPICS command has a separate preference ppic_size (-ppsize). The following values are allowed:
RETRY: If there is an error retrieving the photo(s) from the Facebook server, the pic_retry_count (-pr) will specify how many times FBCMD should attempt to reconnect. Before trying to reconnect, FBCMD will wait pic_retry_delay (-prd) seconds. |
Preferences >