Sha256: 524088d30cbdae500115124b8dc3cbb340fbb346ff5925ced66228447c0caf69

Contents?: true

Size: 836 Bytes

Versions: 20

Compression:

Stored size: 836 Bytes

Contents

#!/usr/bin/env ruby

require 'fileutils'
require "qdumpfs"

from = "./data/from"
to = "./data/to"
to2 = "./data/to2"

def create_dir(dir)
  if FileTest.directory?(dir)
    FileUtils.rm_rf(dir)
  end
  FileUtils.mkpath(dir)
end

create_dir(to)
create_dir(to2)


arg = ["--backup-at=20210119", from, to]
Qdumpfs::Command.run(arg)
arg = ["--backup-at=20210121", from, to]
Qdumpfs::Command.run(arg)
arg = ["--backup-at=20210122", from, to]
Qdumpfs::Command.run(arg)
arg = ["--backup-at=20210123", from, to]
Qdumpfs::Command.run(arg)
arg = ["--backup-at=20210124", from, to]
Qdumpfs::Command.run(arg)


arg = ["--backup-at=20210122", from, to2]
Qdumpfs::Command.run(arg)
arg = ["--backup-at=20210123", from, to2]

arg = ["--command=delete", "--delete-from=20210122", "--delete-to=20210123", "--limit=1", to, to2]
Qdumpfs::Command.run(arg)


Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
qdumpfs-1.9.1 exe/sample
qdumpfs-1.9.0 exe/sample
qdumpfs-1.8.2 exe/sample
qdumpfs-1.8.1 exe/sample
qdumpfs-1.8.0 exe/sample
qdumpfs-1.7.0 exe/sample
qdumpfs-1.6.1 exe/sample
qdumpfs-1.6.0 exe/sample
qdumpfs-1.5.3 exe/sample
qdumpfs-1.5.2 exe/sample
qdumpfs-1.5.1 exe/sample
qdumpfs-1.5.0 exe/sample
qdumpfs-1.2.1 exe/sample
qdumpfs-1.2.0 exe/sample
qdumpfs-1.1.0 exe/sample
qdumpfs-1.0.1 exe/sample
qdumpfs-1.0.0 exe/sample
qdumpfs-0.9.0 exe/sample
qdumpfs-0.8.0 exe/sample
qdumpfs-0.7.0 exe/sample