Forum: Shell Scripting Apr 3rd, 2008 |
| Replies: 4 Views: 1,154 I just noticed that I pasted a small problem, missing the $1.
Just to clarify a little:
My problem is specifically with this line:
awk '{print "zip -m " $ARCHIVE_PATH $FolderToSearch... |
Forum: Shell Scripting Apr 3rd, 2008 |
| Replies: 4 Views: 1,154 #!/bin/bash
ARCHIVE_PATH=/archive
CURRENT_DATE='date +%F%H%M%S'
echo running at `date` >>~/Logs.txt
for FolderToSearch in $(ls -l /home/stuff/tp |grep ^d|awk '{print $9}');
do find... |