mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-19 09:52:09 +01:00
Ignore .DS_Store files when making backups (#4000)
This commit is contained in:
parent
f438ce2897
commit
3162c1b2d0
@ -22,15 +22,18 @@ object DatadirUtil {
|
||||
FileUtil.copyDirectory(
|
||||
source = source,
|
||||
target = temp,
|
||||
fileNameFilter = Vector(".*.sqlite$".r,
|
||||
".*.sqlite-shm$".r,
|
||||
".*.sqlite-wal$".r,
|
||||
".*bitcoin-s.log$".r,
|
||||
".*/seeds/.*".r,
|
||||
".*/tor/.*".r,
|
||||
".*/binaries/.*".r,
|
||||
".*.zip$".r,
|
||||
tempRE)
|
||||
fileNameFilter = Vector(
|
||||
".*.sqlite$".r,
|
||||
".*.sqlite-shm$".r,
|
||||
".*.sqlite-wal$".r,
|
||||
".*bitcoin-s.log$".r,
|
||||
".*/seeds/.*".r,
|
||||
".*/tor/.*".r,
|
||||
".*/binaries/.*".r,
|
||||
".*.zip$".r,
|
||||
".*.DS_Store".r,
|
||||
tempRE
|
||||
)
|
||||
)
|
||||
|
||||
SQLiteUtil.backupDirectory(source = source,
|
||||
|
Loading…
Reference in New Issue
Block a user