-
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels