File: issue26.sh

package info (click to toggle)
duplicity 3.0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 6,260 kB
  • sloc: python: 25,089; sh: 934; ansic: 392; makefile: 83
file content (21 lines) | stat: -rwxr-xr-x 466 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

cd `dirname $0`/../..

export PYTHONPATH=`pwd`
export PASSPHRASE=foo

alias python3=python3.9

bin/duplicity full ../duplicity-web par2+file:///tmp/testdup
sleep 1
bin/duplicity full ../duplicity-web par2+file:///tmp/testdup
sleep 1
bin/duplicity full ../duplicity-web par2+file:///tmp/testdup
sleep 1

export PYDEVD=True
bin/duplicity remove-all-but-n-full 1 --force --num-retries=1 -v9 par2+file:///tmp/testdup

ls -l /tmp/testdup
rm -rf /tmp/testdup