<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Подскажите как подправить скрипт]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=8904</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=8904&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Подскажите как подправить скрипт».]]></description>
		<lastBuildDate>Sat, 23 Apr 2011 11:03:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=171465#p171465</link>
			<description><![CDATA[<p>По рекомендации доктора мой скрипт стал еще меньше )) Но еще не до конца доделан. Надо разобраться с шифрованием и кодами ошибок</p><p>Как то так:<br /></p><div class="codebox"><pre><code>#!/bin/bash
SOURCE_DATABASE=&quot;/home/parus/Data/&quot;
BACKUP_DATABASE=&quot;/home/parus/backup/&quot;
COPY_DIR=&quot;/home/parus/mirror/&quot;
log_file=&quot;/var/log/parus_new_script.log&quot;

function backup_parus()
{
    tar -czf &quot;${BACKUP_DATABASE}parus-&quot;$date&quot;.tar.gz&quot; $SOURCE_DATABASE || return $?
    cp ${BACKUP_DATABASE}parus-&quot;$date&quot;.tar.gz $COPY_DIR
    echo &quot;`date -d&quot;$date&quot; +%Y-%m-%d` Backup Parus database in $COPY_DIR successfully&quot; &gt;&gt; $log_file
}

date=`date &quot;+%Y-%m-%d&quot;`
date_day=`date &quot;+%w&quot;`

[ -d $BACKUP_DATABASE ] || mkdir -pv $BACKUP_DATABASE
[ -d $COPY_DIR ] || mkdir -pv $COPY_DIR

if [[ ! `date -d&quot;$date_day&quot; +%w` = 6 &amp;&amp; ! `date -d&quot;$date_day&quot; +%w` = 7 ]]; then
    backup_parus
else
    echo &quot;`date -d&quot;$date&quot; +%Y-%m-%d` Резервное копирование базы Паруса не выполнено, т.к. сегодня $(date +%A)&quot; &gt;&gt; $log_file
fi</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Sat, 23 Apr 2011 11:03:17 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=171465#p171465</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154879#p154879</link>
			<description><![CDATA[<p>Осталось ток перед удалением архивов всё паковать и переносить в сеть ток после удалять всё (ну это мелочь).</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Thu, 10 Mar 2011 14:12:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154879#p154879</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154871#p154871</link>
			<description><![CDATA[<p>Пока чего ток смог добиться рабочего&nbsp; smile <br /></p><div class="codebox"><pre><code>#!/bin/bash

SOURCE_BACKUP_DIR=&quot;/share/video/&quot;
BACKUP_DIR_VIDEO=&quot;/share/backup/video/&quot;
LOG_FILE=&quot;/var/log/backup_video.log&quot;
SIZE_MAX_BACKUP=&quot;10000&quot;
SIZE_MAX_VIDEO=&quot;1000&quot;

rm $SOURCE_BACKUP_DIR*.jpg

size_backup=`du -shm $BACKUP_DIR_VIDEO`
size_video=`du -shm $SOURCE_BACKUP_DIR`

date=`date &quot;+%Y-%m-%d&quot;`

ls -t $SOURCE_BACKUP_DIR | sed &#039;1d;$d&#039; | tee file_list
ls -t $BACKUP_DIR_VIDEO | sed &#039;1d;$d&#039; | tee file_tar

size_b=${size_backup%%/*/}
size_v=${size_video%%/*/}

echo $size_b
echo $size_v

while read file_name
        do echo $SOURCE_BACKUP_DIR&quot;$file_name&quot; &gt;&gt; file_name_dir
done &lt; file_list

if [ $size_v -ge $SIZE_MAX_VIDEO ]
then
        while read file_name;
        do rm &quot;$file_name&quot;;
        done &lt; file_name_dir
fi

if [ $size_b -ge $SIZE_MAX_BACKUP ]
        then
        while read file_name;
        do rm $BACKUP_DIR_VIDEO&quot;$file_name&quot;;
        done &lt; file_tar
        tar -cvvf $BACKUP_DIR_VIDEO&quot;$date&quot;.tar -T file_name_dir
        echo &quot;`$date` Архив создан...&quot; &gt;&gt; $LOG_FILE;
        else
        tar -cvvf $BACKUP_DIR_VIDEO&quot;$date&quot;.tar -T file_name_dir
        echo &quot;`$date` Архив создан...&quot; &gt;&gt; $LOG_FILE;
        fi
rm file_list file_name_dir file_tar</code></pre></div><p>Вроде ни чё так) Спасибо DrBatty за правильное направление это мой первый опыт с bash</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Thu, 10 Mar 2011 13:56:29 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154871#p154871</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154728#p154728</link>
			<description><![CDATA[<p>кстати, если вы желаете использовать лексикографическое сравнение строк в текущей локали, то вы можете воспользоваться средствами самого bash&#039;а, а именно [[двойной квадратной скобкой]] :<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>[[ expression ]]<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return&nbsp; a&nbsp; status&nbsp; of&nbsp; 0 or 1 depending on the evaluation of the conditional expression expression.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Expressions are composed of the primaries described&nbsp; below&nbsp; under&nbsp; CONDITIONAL&nbsp; EXPRESSIONS.&nbsp; &nbsp;Word<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; splitting and pathname expansion are not performed on the words between the [[ and ]]; tilde expan‐<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sion, parameter and variable expansion, arithmetic expansion, command substitution, process substi‐<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tution,&nbsp; and&nbsp; quote removal are performed.&nbsp; Conditional operators such as -f must be unquoted to be<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; recognized as primaries.</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; When used with [[, The &lt; and &gt; operators sort lexicographically using the current locale.</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; When the == and != operators are used, the string to the right of the operator is considered a pat‐<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tern&nbsp; and&nbsp; matched&nbsp; according&nbsp; to&nbsp; the&nbsp; rules described below under Pattern Matching.&nbsp; If the shell<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; option nocasematch is enabled, the match is performed without regard&nbsp; to&nbsp; the&nbsp; case&nbsp; of&nbsp; alphabetic<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; characters.&nbsp; &nbsp;The&nbsp; return value is 0 if the string matches (==) or does not match (!=) the pattern,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; and 1 otherwise.&nbsp; Any part of the pattern may be quoted to force it to be matched as a string.</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; An additional binary operator, =~, is available, with the same precedence as == and !=.&nbsp; When it is<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; used,&nbsp; the&nbsp; string&nbsp; to&nbsp; the&nbsp; right of the operator is considered an extended regular expression and<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; matched accordingly (as in regex(3)).&nbsp; The return value is 0 if the string matches the pattern, and<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; otherwise.&nbsp; &nbsp;If&nbsp; the regular expression is syntactically incorrect, the conditional expression&#039;s<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return value is 2.&nbsp; If the shell option nocasematch is enabled,&nbsp; the&nbsp; match&nbsp; is&nbsp; performed&nbsp; without<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; regard&nbsp; to the case of alphabetic characters.&nbsp; Any part of the pattern may be quoted to force it to<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; be matched as a string.&nbsp; Substrings matched by&nbsp; parenthesized&nbsp; subexpressions&nbsp; within&nbsp; the&nbsp; regular<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; expression&nbsp; are saved in the array variable BASH_REMATCH.&nbsp; The element of BASH_REMATCH with index 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; is the portion of the string matching the entire regular expression.&nbsp; The element&nbsp; of&nbsp; BASH_REMATCH<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; with index n is the portion of the string matching the nth parenthesized subexpression.</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Expressions&nbsp; may&nbsp; be&nbsp; combined&nbsp; using the following operators, listed in decreasing order of prece‐<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dence:</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( expression )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Returns the value of expression.&nbsp; This may be used to&nbsp; override&nbsp; the&nbsp; normal&nbsp; precedence&nbsp; of<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;operators.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ! expression<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;True if expression is false.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; expression1 &amp;&amp; expression2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;True if both expression1 and expression2 are true.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; expression1 || expression2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;True if either expression1 or expression2 is true.</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The&nbsp; &amp;&amp;&nbsp; and&nbsp; || operators do not evaluate expression2 if the value of expression1 is sufficient to<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; determine the return value of the entire conditional expression.</p></div></div>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Thu, 10 Mar 2011 08:51:48 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154728#p154728</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154725#p154725</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>А то правило тут не работает.<br />if [ $size&gt;=$SIZE_MAX ]</p></blockquote></div><p>1) в bash&#039;е только один тип данных - СТРОКИ.<br />когда вы используете сравнение, вы сравниваете именно СТРОКИ данных. Но, если покурить man test (а именно test тут используется, хоть и называется квадратной скобкой[[[), то станет ясно, как сравнивать целые числа (в bash они 64х битные):<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>INTEGER1 -eq INTEGER2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INTEGER1 is equal to INTEGER2</p><p>&nbsp; &nbsp; &nbsp; &nbsp;INTEGER1 -ge INTEGER2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INTEGER1 is greater than or equal to INTEGER2</p><p>&nbsp; &nbsp; &nbsp; &nbsp;INTEGER1 -gt INTEGER2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INTEGER1 is greater than INTEGER2</p><p>&nbsp; &nbsp; &nbsp; &nbsp;INTEGER1 -le INTEGER2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INTEGER1 is less than or equal to INTEGER2</p><p>&nbsp; &nbsp; &nbsp; &nbsp;INTEGER1 -lt INTEGER2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INTEGER1 is less than INTEGER2</p><p>&nbsp; &nbsp; &nbsp; &nbsp;INTEGER1 -ne INTEGER2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INTEGER1 is not equal to INTEGER2</p></div></div><p>Hint: используйте ПРОБЕЛЫ - гуру пишут, что это самый лучший комментарий! И ещё - старайтесь всё заключать в кавычки, если у вас нужно раскрыть переменные, используйте &quot;двойные&quot;, иначе используйте &#039;одиночные&#039;.</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Thu, 10 Mar 2011 08:47:13 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154725#p154725</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154718#p154718</link>
			<description><![CDATA[<p>Вот тут подскажите как обрезать<br />size= du -shm $BACKUP_DIR_VIDEO</p><p>А то правило тут не работает.<br />if [ $size&gt;=$SIZE_MAX ]</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Thu, 10 Mar 2011 08:37:09 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154718#p154718</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154714#p154714</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>rm $SOURCE_BACKUP_DIR*.jpg</p></blockquote></div><p>вот тут кавычки не нужны. с кавычками звёздочка не раскроется. Однако, ИМХО, лучше писать всё-же так:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">find . -depth -name &quot;$SOURCE_BACKUP_DIR*.jpg&quot; -type f -exec rm -v {} \; -type d -exec rmdir {} \;</div><br />ключ depth нужен для того, что-бы find искала &quot;наизнанку&quot;. Существует всего три способа обхода деревьев:<br />1) центрированный. это обход в алфавитном порядке. не используется, ибо медленно.<br />2) прямой - сначала посещаем корень, потом левое поддерево, потом правое, рекурсивно. Нам не подходит - когда мы посещаем корень - там что-то есть.<br />3) обратный - сначала обходим подкаталоги, а потом корень. именно это нам и надо - мы сначала удаляем файлы, а потом директории, в которых содержались эти файлы.</p><p>Подробнее про обход деревьев - Дональд Э. Кнут Искусство программирования. Том первый, ЕМНИП.</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Thu, 10 Mar 2011 08:28:00 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154714#p154714</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154705#p154705</link>
			<description><![CDATA[<p>Rabat эти 2 команды отрабатывают всё как надо)</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Thu, 10 Mar 2011 08:07:37 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154705#p154705</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154645#p154645</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>rm $SOURCE_BACKUP_DIR*.jpg</p></blockquote></div><p>картинки в сорсе убирать совсем нужно? или только что б в бекапе их не было?</p><br /><div class="quotebox"><blockquote><p>size= du -shm $BACKUP_DIR_VIDEO</p></blockquote></div><p>кавычки не нужны? сам триста лет не писал ничего, скрипт не тестировался?</p>]]></description>
			<author><![CDATA[null@example.com (Rabat)]]></author>
			<pubDate>Wed, 09 Mar 2011 22:47:44 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154645#p154645</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154609#p154609</link>
			<description><![CDATA[<p>Тут написал кое что но точно кривой))) гляньте что можно подправить)</p><div class="codebox"><pre><code>#!/bin/bash

SOURCE_BACKUP_DIR=&quot;/share/video/&quot;
BACKUP_DIR_VIDEO=&quot;/share/backup/video/&quot;
LOG_FILE=&quot;/var/log/backup_video.log&quot;
SIZE_MAX=&quot;10000&quot;

rm $SOURCE_BACKUP_DIR*.jpg

size= du -shm $BACKUP_DIR_VIDEO
date=`date &quot;+%Y-%m-%d&quot;`

ls -t $SOURCE_BACKUP_DIR | sed &#039;1d;$d&#039; | tee file_list
ls -t $BACKUP_DIR_VIDEO | sed &#039;1d;$d&#039; | tee file_tar

while read file_name;
do echo $SOURCE_BACKUP_DIR&quot;$file_name&quot; &gt;&gt; file_name_dir;
done &lt; file_list;

if [ $size&gt;=$SIZE_MAX ]
 then
        while read file_name;
        do rm $BACKUP_DIR_VIDEO&quot;$file_name&quot;;
        done &lt; file_tar
        tar -cvvf $BACKUP_DIR_VIDEO&quot;$date&quot;.tar -T file_name_dir
        echo &quot;`$date` Архив создан...&quot; &gt;&gt; $LOG_FILE;
 else
        tar -cvvf $BACKUP_DIR_VIDEO&quot;$date&quot;.tar -T file_name_dir
        echo &quot;`$date` Архив создан...&quot; &gt;&gt; $LOG_FILE;
 fi
rm file_list file_name_dir file_tar</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Wed, 09 Mar 2011 21:08:33 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154609#p154609</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154427#p154427</link>
			<description><![CDATA[<p>забыл сказать - спец-символы могут порушить скрипт.<br />можно сделать либо поиск по inode (составить список инодов можно так: <strong>$ ls -i | sed &#039;s/ .*//&#039;</strong>), а потом искать эти файлы по инодом командой<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ find . -inum $INODE -exec file {} \;</div><br />а ещё можно заставить ls нормально выводить символы:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ ls --quoting-style=c</div></p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Wed, 09 Mar 2011 16:18:45 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154427#p154427</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154424#p154424</link>
			<description><![CDATA[<p>Спс</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Wed, 09 Mar 2011 16:12:14 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154424#p154424</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154421#p154421</link>
			<description><![CDATA[<div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>Пробывал он удаляет сам файл а мне надо файлы а точнее список который он в себе содержит</p></blockquote></div><p>э...<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ while read file_name; do echo &quot;$file_name&quot;; done &lt;file_list</div></p><p>вместо echo&nbsp; можно вставить любую другую команду.</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Wed, 09 Mar 2011 16:07:54 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154421#p154421</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154415#p154415</link>
			<description><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><div class="quotebox"><cite>Kettler пишет:</cite><blockquote><p>А как можно ещё удалить file_list ?</p></blockquote></div><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">$ rm file_list</div><br />внутри скрипта подтверждения не будет.</p></blockquote></div><p>Пробывал он удаляет сам файл а мне надо файлы а точнее список который он в себе содержит</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Wed, 09 Mar 2011 16:01:10 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154415#p154415</guid>
		</item>
		<item>
			<title><![CDATA[Re: Подскажите как подправить скрипт]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=154414#p154414</link>
			<description><![CDATA[<p>Поидее конечно кастыль могу тормознуть демон запаковать после удалить и снова запустить.</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Wed, 09 Mar 2011 16:00:26 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=154414#p154414</guid>
		</item>
	</channel>
</rss>
