tag icon indicating copy to clipboard operation
tag copied to clipboard

Skipping over paths that do not exist?

Open kaya-toast opened this issue 3 years ago • 0 comments

Hello! Thank you for creating this tool. It has been immensely helpful.

I am currently de-duplicating files, and I have a question about the possibility of modifying the command to skip over paths that might not exist.

For example, I have two directories.

DirectoryA contains:

file1 file2 file3

DirectoryB contains:

file1 file3

Currently, for DirectoryB, when I run

tag -a tagname file1 file2 file3

I get "The file "file2" couldn't be opened because there is no such file."

Is there a way for me to modify the command, so that it would apply tagname only to files that exist (file1, file3), and ignore paths that do not exist (i.e. file2)?

Thank you again!

kaya-toast avatar Jun 20 '22 13:06 kaya-toast