fix excluded list
This commit is contained in:
parent
2bb9caf7d4
commit
da84dd9907
@ -14,7 +14,8 @@ import System.FilePath
|
||||
excluded :: [String]
|
||||
excluded = intersperse "--exclude"
|
||||
[ "/home/rnhmjoj/.cache/"
|
||||
, "/home/rnhmjoj/games/"
|
||||
, "/home/rnhmjoj/game/"
|
||||
, "/home/rnhmjoj/.config/mozilla/firefox/tay31tbe.default/lock"
|
||||
]
|
||||
|
||||
|
||||
@ -34,7 +35,7 @@ findPath path = do
|
||||
backup :: String -> Segment ()
|
||||
backup name = do
|
||||
path <- findPath (name </> "latest")
|
||||
proc "bup" ("index" : "-v" : path : "--exclude" : excluded)
|
||||
proc "bup" ("index" : path : "--exclude" : excluded)
|
||||
bup "save" "-n" name path
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user