https://www.mediawiki.org/wiki/Special:Code/MediaWiki/110757

Revision: 110757
Author:   ariel
Date:     2012-02-06 16:39:21 +0000 (Mon, 06 Feb 2012)
Log Message:
-----------
pick up the abstract files for rsync too

Modified Paths:
--------------
    branches/ariel/xmldumps-backup/create-rsync-list.sh

Modified: branches/ariel/xmldumps-backup/create-rsync-list.sh
===================================================================
--- branches/ariel/xmldumps-backup/create-rsync-list.sh 2012-02-06 16:29:58 UTC 
(rev 110756)
+++ branches/ariel/xmldumps-backup/create-rsync-list.sh 2012-02-06 16:39:21 UTC 
(rev 110757)
@@ -96,12 +96,14 @@
            ls $d/*.7z 2>/dev/null >> $outputfile.tmp
            ls $d/*.html 2>/dev/null >> $outputfile.tmp
            ls $d/*.txt 2>/dev/null >> $outputfile.tmp
+           ls $d/.xml 2>/dev/null >> $outputfile.tmp
        else
            ls $d/*.gz 2>/dev/null | sed -e "s|^$publicdir|$rsyncprefix|" >> 
$outputfile.tmp
            ls $d/*.bz2 2>/dev/null | sed -e "s|^$publicdir|$rsyncprefix|" >> 
$outputfile.tmp
            ls $d/*.7z 2>/dev/null | sed -e "s|^$publicdir|$rsyncprefix|" >> 
$outputfile.tmp
            ls $d/*.html 2>/dev/null | sed -e "s|^$publicdir|$rsyncprefix|" >> 
$outputfile.tmp
            ls $d/*.txt 2>/dev/null | sed -e "s|^$publicdir|$rsyncprefix|" >> 
$outputfile.tmp
+           ls $d/*.xml 2>/dev/null | sed -e "s|^$publicdir|$rsyncprefix|" >> 
$outputfile.tmp
        fi
     else
        list_dir_only


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to