Search Results

Showing results 1 to 2 of 2
Search took 0.02 seconds.
Search: Posts Made By: mooglor
Forum: Shell Scripting Apr 3rd, 2008
Replies: 4
Views: 1,154
Posted By mooglor
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
Posted By mooglor
#!/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...
Showing results 1 to 2 of 2

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC