Skip to content
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

add support for multiple files using ffsend #1523

Merged
merged 3 commits into from
Nov 18, 2022
Merged

add support for multiple files using ffsend #1523

merged 3 commits into from
Nov 18, 2022

Conversation

Darukutsu
Copy link
Contributor

Maybe not needed since you can archive, compress, send and then delete archive on your own. This ffsend feature only archives without compression.

plugins/upload Outdated

# To write download link to "$1".loc and exit
# curl -s -F "file=@$1" https://file.io/?expires=1w -o `basename "$1"`.loc
printf "For sending multiple(marked) files, ffsend is required."
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change to:

ffsend is required to upload selection.

#
# Note: Binary file set to expire after a week
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana

if [ -n "$1" ] && [ -s "$1" ]; then
selection=${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection}
if [ -s "$selection" ]; then
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the documentation that selection is handled exclusively using ffsend.

plugins/upload Outdated Show resolved Hide resolved
@jarun jarun merged commit dda624e into jarun:master Nov 18, 2022
@jarun
Copy link
Owner

jarun commented Nov 18, 2022

Thank you!

@jarun jarun mentioned this pull request Nov 18, 2022
1 task
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants