i have a problem. I want to make a bash script that writes data to new column every time i run script. For example every week i check how many files in each folder i have.
find /home/user/admin/stuff/ -mtime -7 | wc -l >> results.xls find /home/user/admin/old/ -mtime -7 | wc -l >> results.xls
I run script every Monday, but i don't want to overwrite data. I need that new data will be in new column.
Week1 Week2 Week3 ... 2 3 5 1 2 3