Comments (3)
Hi @metbril,
I understand your use-case.
I thought about it and unfortunately, I have to decline this feature. And this is why:
First of all, the tool is (somewhat unfortunately in this case) named "appendfilename" which contradicts any prepending feature. If I would have this use-case, I'd probably write a different tool or think about renaming "appendfilename" which I don't for now.
Secondly, if I would add a pre-pending command line switch, I can think of people who wants to have this prepended string before the date/time-stamp. The semantics would suggest so as well. (I know that appending before the tags is a different example that might be mentioned here.)
A personal suggestion for a workaround: When I want to prepend a string to many files, I end up using vidir which can be installed via the Debian package moreutils
. It opens the current directory in vim where you can use the column-insert feature to add those prepend-strings. Emacs/dired offers the same feature as well: dired-toggle-read-only
. Other file managers should support such a feature but I don't know of any other file manager that provides a good solution for it besides Emacs/dired and vidir
.
I hope this helps your use-case for now.
from appendfilename.
Thanks for your comment. I understand why you don't want to update your tool.
I think I will build a dedicated tool myself (be it python or bash). Would you accept a PR if I should decide to make one?
from appendfilename.
Hi @metbril,
It's not the implementation effort that made me decide against your proposal - it's the implications of it that made me think. Therefore, I am currently not interested in accepting a PR for it. Sorry. Thanks for your proposal - very kind!
from appendfilename.
Related Issues (13)
- Optionally removing words from file names HOT 3
- renaming file which is a link to same file name doesn't work recursive
- inconsistency --smart-prepend vs. date2name stamp HOT 4
- feature suggest: harmonization of three pattern by date2name HOT 3
- --smart-prepend option behaves like --prepend option when path is absolute
- Thunar integration by GUI HOT 1
- Help command line switch HOT 2
- Move constants to dot config file HOT 4
- appendfilename on Windows shortcut does not rename original file
- Tried you geeqie setup in ubuntu 18.04, but terminal window appears and disappears immediately again HOT 4
- --remove option is not available, see your geeqie use case example where you use it HOT 4
- Can we use appendfilename also with _ as delimiter instead of using spaces? HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appendfilename.