I think I've looked everywhere and I'm not having much luck. I'm trying to create a simple automated billing report. I need to create a CSV with 3 columns. like this
Folder Size Billing Code
Folder1 300M XXXXX
Folder2 600M XXXXX
Folder3 200M XXXXX
I can get a du -sh
and use awk
to arrange it how I want and I get most of what I'm attempting to do. however I don't know how to create a header before each column. I've looked for methods in bash, perl, and python and having limited success. If I could just figure out how to make the column header labels I think i'd be fine from there.