4

When I run duplicity with the -v8 switch I get the following output:

M home/user/Documents/test.txt
D home/user/VirtualBox VMs/win10/Logs/VBox.log.2
A home/user/.config/VirtualBox/example.log

What does the capital letters in front of the paths mean?

PetaspeedBeaver
  • 1,207
  • 3
  • 15
  • 32

1 Answers1

5

I could not find this documented; probably my Google-fu is lacking, but the flags you mentioned, A, D, and M, appear to stand for "added", "deleted", and "modified", respectively, according to the source code (in diffdir.py):

log.Info(_("A %s") %
         (util.ufn(delta_path.get_relative_path())),
         log.InfoCode.diff_file_new,
         util.escape(delta_path.get_relative_path()))

(...)

log.Info(_("D %s") %
         (util.ufn(sig_path.get_relative_path())),
         log.InfoCode.diff_file_deleted,
         util.escape(sig_path.get_relative_path()))

(...)

log.Info(_("M %s") %
         (util.ufn(delta_path.get_relative_path())),
         log.InfoCode.diff_file_changed,
         util.escape(delta_path.get_relative_path()))
dhag
  • 15,440
  • 4
  • 54
  • 65