-
Notifications
You must be signed in to change notification settings - Fork 3
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
--copypairs src1 dst1 src2 dst2 src3 dst3 … and --copylist src1 src2 src3 dst1 dst2 dst3 … #73
Comments
I think you could accomplish something similar with a Not tested but something like this: You have a list of file pairs in a file
Then:
|
But ok if I want drag'n'drop I could write a script only taking $0 (the whole input) which then puts each argument onto its own line, which then counts the numbers of lines:
But yeah, until that works with my skills, again 3-4hours are gone. Shell scripting is always frustrating as soon as whitespace, special characters etc come into play. |
And |
But it's 10-12 hours of my time to implement and test ;-)
|
I've been thinking more about this and at least for now I do not intend to work on this. My rationale is this:
If there's something that needs to be fixed in osxmetadata to work better with the standard unix command line tools, I'm happy to look at fixing it but I do not want to implement functionality already present in other command line tools unless there's a very good reason to do so. paste example:
|
One other option, if the source and destination files have the same name you could use osxmetadata to do a backup in the source directory, copy the |
After reading all your arguments I agree that this functionality shall be achieved by interplay of unix tools, and avoid osxmeta to get to big to maintain properly. But what we very well can do is to add those use cases and solution approaches into the readme.md or the --help or manpage. So I leave this ticket open, and when I found a solution will try to create a nice writeup, which I post here in Markdown Syntax, which you can then embed into readme/manpage/--help as you see fit. |
Thanks again for declining my request for the right reasons!
With great pride I present my work
|
Looks useful! I'll take a look when I get a chance. |
Feature Proposal
--copypairs src1 dst1 src2 dst2 src3 dst3 …
--copylist src1 src2 src3 dst1 dst2 dst3 …
Situations of need
Intended use cases as a fruitful collaboration of Finder (GUI) & Terminal (CLI)
--copylist /src/*.png /dst/*.webp
The text was updated successfully, but these errors were encountered: