Reply to Message

Reply to Message

View discussion in a popup

Replying to:
8 Krypton

Re: Isilon - (Script) - Run "du -hxcd1" against output

Printing pretty tables would required some more lines of code,

but for the list-style of the isi sync output I can offer what is essentially a decorated one-liner:

isi sync target list -v |

awk -F": " '

{ print $0; }

/^Target Dir:/ { printf "du: "; system("du -hxd1 \""$2"\""); }



-- Peter

0 Kudos