check_files_for_backup_local

check_files_for_backup_local(files: list[str], directory: str, backup_dir: str) list[str][source]

Checks which files have been backed up locally (e.g., external drive).

Parameters:
  • files (list[str]) – List of filenames to check.

  • directory (str) – The local directory containing the source files.

  • backup_dir (str) – The local backup directory.

Returns:

List of full paths of files that can be safe to remove.

Return type:

list[str]