Comments (7)
Work on this feature is in progress. In the next version you will be able to supply a file list via stdin, giving you full control over the files processed and their order. In this example, input comes from the output of find
via sort
:
$ find . | sort --reverse | renamer --find one --replace two
For the most precision, you could hand-roll a file containing one filename per line and pipe it into renamer.
$ cat file-list.txt | renamer --find one --replace two
from renamer.
hi, that sounds like a good idea thanks. Feel free to work on an order-by
feature and share the results with me. If the feature benefits other users I may include it in a future release.
from renamer.
@tibuurcio would appreciate a lot this new feature!
from renamer.
Renamer v1 prerelease is available to test, see here. Does that solve your issue?
from renamer.
Hi @75lb, this solves my issues very well. It's even more robust than my first approach since we can use a file containing filenames. Thank you very much for working on this 👍
We can close this issue now since it's resolved!
from renamer.
Pleased to hear your issue is resolved. I'll close this ticket once v1 goes live. If there are any other features you are lacking, now would be a good time to speak!
from renamer.
fixed and released in renamer v1.0.0.
from renamer.
Related Issues (20)
- Regexp finishes after first group HOT 3
- Dry-run doesn't log anything HOT 5
- Broken on node v12 HOT 1
- using renamer within nodejs app HOT 1
- Can't able to add exclude directory in files options Array HOT 2
- Can't able use it as global node package HOT 1
- Compatibility with yarn pnp? HOT 7
- Is there any way to only rename the files without renaming directories? HOT 1
- option to only log summary HOT 3
- Unknown option: --regex HOT 2
- Preset the naming method of some files or directories? HOT 6
- Regex issue with Git Bash on Windows HOT 5
- Regex /^$/ can't work HOT 5
- Make the resulting operation (e.g. rename, copy, git mv etc) user-definable HOT 1
- escaping hifen HOT 2
- Error with files starting with "." (dot) HOT 1
- --git flag? HOT 1
- FR: typescript support HOT 1
- Add --skip option (opposite of --force)
- Strange output HOT 2
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 renamer.