79275782

Date: 2024-12-12 16:09:02
Score: 0.5
Natty:
Report link

I ultimately decided it would be easiest to just call ditto as a subprocess, since it will extract the aliases properly

var dittoProcess = new Process();
var args = $"-k -x \"{archivePath}\" \"{outDirectory}\"";
dittoProcess.StartInfo = new ProcessStartInfo("/usr/bin/ditto", args);
dittoProcess.Start();
dittoProcess.WaitForExit();
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Michael Berk