summaryrefslogtreecommitdiff
authorar <ar>2004-01-22 21:50:55 (UTC)
committer ar <ar>2004-01-22 21:50:55 (UTC)
commit77ad4fd70864e36745dbee587ca959a2e56998a6 (patch) (side-by-side diff)
tree719ea0c8f1a1ecf9338ceb05c1b56169dc56dbed
parent2061145634f91239c986b25ecc8d1e10b95046b3 (diff)
downloadopie-77ad4fd70864e36745dbee587ca959a2e56998a6.zip
opie-77ad4fd70864e36745dbee587ca959a2e56998a6.tar.gz
opie-77ad4fd70864e36745dbee587ca959a2e56998a6.tar.bz2
- exclude *.bck files from backup
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/backup/backuprestore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/backup/backuprestore.cpp b/noncore/settings/backup/backuprestore.cpp
index 3500403..a00193d 100644
--- a/noncore/settings/backup/backuprestore.cpp
+++ b/noncore/settings/backup/backuprestore.cpp
@@ -248,9 +248,9 @@ void BackupAndRestore::backup()
// for debugging..
qDebug( "Storing file: %s", outputFile.latin1() );
outputFile += EXTENSION;
- QString commandLine = QString( "(tar -C %1 -c %2 | gzip > %3 ) 2> %4" ).arg( QDir::homeDirPath() )
+ QString commandLine = QString( "(tar -C %1 -z --exclude=*.bck -c %2 > %3 ) 2> %4" ).arg( QDir::homeDirPath() )
.arg( backupFiles )
.arg( outputFile.latin1() )
.arg( tempFileName.latin1() );