fspot-tool
Script to use the FSpot::DbTool and related tools
fspot-tool.pl [options]
Options: --action move_dir Requires: from, to Optional: merge, rename replace_path Requires: from, to find_lost Requires: path find_orphans clean_trailing_slashes tag_no_description backup_db check_db compact_db
--from Path from --to Path to --path It's a path! --merge Do a merge --rename Rename files if necessary
Move pictures from one directory to another. Does the move on the filesystem, and the corresponding move of the path in the FSpot database afterwards
Useful if you have already moved files in your filesystem (e.g. moved your entire photo folder to a new location. Will replace all instances of a path with a new path
e.g.
from = /home/clarkero/my_pictures to = /home/rcl/pictures/processed
Clean trailing slashes off the end of paths in the database
Find files which exist in the filesystem, but do not exist in the database
Find orphaned files (files which exist in in the database, but not on the filesystem)
Tag all photos which do not yet have a description
Confirms you have the correct database version for this script to work with
Make a backup of the database This is carried out automatically for move_dir, replace_path and compact_db actions.
Carries out the SQLite compact function (VACUUM) on the database.
Robin Clarke perl@robinclarke.net
perl@robinclarke.net
To install FSpot::DbTool, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FSpot::DbTool
CPAN shell
perl -MCPAN -e shell install FSpot::DbTool
For more information on module installation, please visit the detailed CPAN module installation guide.