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'm trying to do this:
xargs -0 -P $parallel -I {} sh -c "{ date '+START {} %Y-%m-%d_%H:%M:%S' >> $logf; \ bytes=$(diskus -v {}); \ echo "{},$bytes" >> $csvf; \ date '+FINISH {} %Y-%m-%d_%H:%M:%S' >> $logf; }"
But:
diskus: could not retrieve metadata for path '{}'
I'm 96% sure my xargs is correct since I'm just replacing du with diskus in the same construct. The {} comes out as expected elsewhere. Any ideas?
The text was updated successfully, but these errors were encountered:
If diskus sees "{}" as a literal argument, then something is wrong with your command.
diskus
Sorry, something went wrong.
No branches or pull requests
I'm trying to do this:
But:
I'm 96% sure my xargs is correct since I'm just replacing du with diskus in the same construct. The {} comes out as expected elsewhere. Any ideas?
The text was updated successfully, but these errors were encountered: