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

not working on xigmanas (FreeBsd) #35

Open
rudiratlos opened this issue Mar 3, 2024 · 2 comments
Open

not working on xigmanas (FreeBsd) #35

rudiratlos opened this issue Mar 3, 2024 · 2 comments

Comments

@rudiratlos
Copy link

lsattr and perl is not installed on xigmanas platfform.

lsattr can be installed on xigmanas (login via ssh) by:
pkg install e2fsprogs

perl is only used in teh script to calc the percentage.

just replace line 72:
progress_percent=$(perl -e "printf('%0.2f', ${current_index}*100/${file_count})")
with
progress_percent=$((${current_index}*100/${file_count}))

@markusressel
Copy link
Owner

perl was introduced in #24 , if there is a truly platform agnostic alternative, I would be more than happy to merge a PR.

@markusressel
Copy link
Owner

The dependency on perl has been removed in #41

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