add: albums link under pictures

This commit is contained in:
2025-05-06 20:03:32 +02:00
parent b434d0837a
commit b895e5d85c
7 changed files with 47 additions and 23 deletions

View File

@ -2,7 +2,7 @@ from __future__ import annotations
import os
import sys
import shutil
class Path():
def __init__(self, *paths: str | Path):
@ -56,6 +56,9 @@ class Path():
files.append(path)
return files
def copy_to(self, destination: Path) -> None:
shutil.copy2(self.get_absolute_path(), destination.get_absolute_path())
def __str__(self):
return self._absolute_path