We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I often scp files between hosts and I'd find it very handy for find or fd to have a option to directly output results in this format
$HOSTNAME:/path/to/file.txt
I'm also learning rust so I gave it a quick try, it could somewhat look like this:
rc@hackbookpro:~/git/fd $ ./target/debug/fd --network-path -c never fd hackbookpro.home.local:/Users/rc/git/fd/contrib/completion/_fd hackbookpro.home.local:/Users/rc/git/fd/doc/fd.1 rc@hackbookpro:~/git/fd $ ./target/debug/fd -h | grep network-path -N, --network-path Prepend hostname for scp copy/paste, implies -a
Would you think this is of general interest? If yes I could clean it up and submit a PR. Otherwise no hard feelings :)
The text was updated successfully, but these errors were encountered:
Once #1043 is merged, you could do:
fd --format "$HOSTNAME:{}" --absolute-path -c never
Would that work?
Sorry, something went wrong.
@tmccombs that's actually better than my variant, nice!
No branches or pull requests
I often scp files between hosts and I'd find it very handy for find or fd to have a option to directly output results in this format
I'm also learning rust so I gave it a quick try, it could somewhat look like this:
Would you think this is of general interest? If yes I could clean it up and submit a PR. Otherwise no hard feelings :)
The text was updated successfully, but these errors were encountered: