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

Workaround for argument list too long error. #1873

Open
drkknigt opened this issue Dec 14, 2024 · 1 comment
Open

Workaround for argument list too long error. #1873

drkknigt opened this issue Dec 14, 2024 · 1 comment

Comments

@drkknigt
Copy link

When toggling a large number of files and subsequently running a command that utilizes the values in $fs to rename files or do to stuff with the values in $fs, I encounter an error. Shell quits with argument list too long . I know this error is due to the ARG_MAX limit imposed by operating system. How can i get around this issue.

@DusanLesan
Copy link

I previously encountered an issue when attempting to send a remote toggle command from external program, which I fixed by splitting the job into multiple calls.
However, in case where the fs size within lf is too large, I have not found a solution to break it into more manageable parts or to write it to a file apart from potentially utilizing the ~/.local/share/lf/files file after marking all selections for cut or copy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants