|
|
@ -753,6 +753,7 @@ namespace Action {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int Rename::run(const std::string& path)
|
|
|
|
int Rename::run(const std::string& path)
|
|
|
|
|
|
|
|
{
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
if (!Exiv2::fileExists(path, true)) {
|
|
|
|
if (!Exiv2::fileExists(path, true)) {
|
|
|
|
std::cerr << path
|
|
|
|
std::cerr << path
|
|
|
@ -824,7 +825,7 @@ namespace Action {
|
|
|
|
std::cerr << "Exiv2 exception in rename action for file " << path
|
|
|
|
std::cerr << "Exiv2 exception in rename action for file " << path
|
|
|
|
<< ":\n" << e << "\n";
|
|
|
|
<< ":\n" << e << "\n";
|
|
|
|
return 1;
|
|
|
|
return 1;
|
|
|
|
} // Rename::run
|
|
|
|
}} // Rename::run
|
|
|
|
|
|
|
|
|
|
|
|
Rename::AutoPtr Rename::clone() const
|
|
|
|
Rename::AutoPtr Rename::clone() const
|
|
|
|
{
|
|
|
|
{
|
|
|
|