Do not check if destination exists since rsync already does it
This commit is contained in:
parent
f7ad0ea237
commit
19fcd9d1f0
@ -14,12 +14,6 @@ RIPPED_DIR = "ripped"
|
|||||||
def main():
|
def main():
|
||||||
chdir_to_script_dir()
|
chdir_to_script_dir()
|
||||||
|
|
||||||
if not os.path.exists(DESTINATION_FOLDER):
|
|
||||||
print(
|
|
||||||
f"Destination folder '{DESTINATION_FOLDER}' does not exist. Please run transcoder script to generate it"
|
|
||||||
)
|
|
||||||
exit(1)
|
|
||||||
|
|
||||||
for dvd_type in ("movie", "series"):
|
for dvd_type in ("movie", "series"):
|
||||||
for dvd in list_ripped_dvds(dvd_type):
|
for dvd in list_ripped_dvds(dvd_type):
|
||||||
print(f"Transferring {dvd_type}: {dvd}")
|
print(f"Transferring {dvd_type}: {dvd}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user