-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
mv and cp are not implemented so I wrote a wrapper #5
Comments
@g-gundam thanks. the cp and mv are implemented in the older zsh version, but the new rewrite in lua needs polishing ( "works for me" basically ). will have a look at your code, would be nice to join hobby forces 😅 |
@jaromil I'm in a works-for-me situation myself since my wrapper implements the functionality I needed. I feel like I captured the spirit of what harvest was trying to accomplish, but it is admittedly a quick and dirty hack done in a different language. If the desire to learn Lua becomes strong enough, I may fill in some of the blanks in the Lua implementation. However, for now, I'm going to thank you for doing the file scanning and categorization work that I was able to build upon. It let me clean up my |
No need to rewrite in another language I think is fine like that as long as it is reliable for the delicate task. I read the code and seems very concise, which is a great plus. Hope you don't mind if I include it inside harvest? would you like to commit it yourself as a PR here? inside subdir |
harvest/src/harvest.lua
Lines 168 to 178 in a9466f9
I like the idea behind harvest, and it was pretty close to what I needed for my ~/Downloads cleanup project, but I saw that the
mv
andcp
commands were not implemented yet. However, it seemed like I could make a wrapper around the current unfinished harvest and implementcp
andmv
myself. The result was hvst.I'm posting here in case someone finds this useful.
The text was updated successfully, but these errors were encountered: