Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--remove option is not available, see your geeqie use case example where you use it #8

Closed
michaelsjackson opened this issue Sep 12, 2020 · 4 comments
Labels

Comments

@michaelsjackson
Copy link

So which command can we use for removing previously added file name additions? Thanks in advance.

This does not work here.
-x /home/mj/snippy/geeqie/appendfilename/appendfilename/__init__.py --remove "${@}"

@novoid novoid added the wontfix label Sep 12, 2020
@novoid
Copy link
Owner

novoid commented Sep 12, 2020

Hi,
There is no --remove parameter and I can not think of a straight-forward way of implementing it. If you've got a sane concept, please write it in a feature request issue here.
The only thing I can think of you might have seen is when I remove tags (using filetags) with the --remove option or prepend it with a minus character.

@novoid novoid closed this as completed Sep 12, 2020
@michaelsjackson
Copy link
Author

Why "you might have seen", it is in your main page. See your section "Integrating into Geeqie".

@novoid
Copy link
Owner

novoid commented Sep 13, 2020

Excellent. You've found a copy & paste error of mine. Probably happened when updating this section with snippets from filetags and doing search&replace without checking properly. I'll fix it right now. Sorry for causing any fuzz with that.

Once again, I'm also in situations where I need to remove parts of file names. I'm using vidir from moreutils or Emacs dired with activated Wdired. However, I can not think of a good implementation on how appendfilename might support here, considering multiple selected files and such. If I can get my head wrapped around a good approach, I might as well implement it.

novoid added a commit that referenced this issue Sep 13, 2020
@michaelsjackson
Copy link
Author

No thanks, if I know there is no such option, all is well. I only do not want to miss any functionality which is available, maybe I had an older version I thought first. Now all makes sense, appendfilename can only append or prepend, but can not remove them again, using -word, as you implemented for filetags I guess. So the remove .sh example on the main page should be removed then as well. Thanks for sharing all your great tools here again. Have a nice day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants