You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The utilities used to move/organize files do not support moving files between devices.
DEBUG Creating and/or moving to: /mnt/data/Videos/TV/Watchmen/Season 01
ERROR [Errno 18] Invalid cross-device link: 'Watchmen.S01E07.720p.WEB.h264-TBS[rarbg]/Watchmen -01.07- An Almost Religious Awe.mkv' -> '/mnt/data/Videos/TV/Watchmen/Season 01/Watchmen -01.07- An Almost Religious Awe.mkv'
Switching from os.rename to shutil.move should resolve the issue.
The text was updated successfully, but these errors were encountered:
Add support for `pathlib` and use it to handle generating file paths
and extracting information from them rather than `os.path`.
Add a `nielsen.files` module which handles most of the underlying file
operations (making calls out to `shutil` for things like `chown` and
`move`). This abstraction allows not only for more reusable code, but
smaller functions to test and removes the overhead of a lot of context
for the API level functions (most notably `organize_file`).
Favor returning `Path` objects from API functions that modify files in
some way. Returning the most up-to-date version of the `Path` object
allows the API to be more composable and extendable.
Use an intermediate value for defining the filename format for processed
files. This opens up possibilities for customization.
Bump version to `2.1.0`.
Resolves#71.
Resolves#73.
The utilities used to move/organize files do not support moving files between devices.
Switching from
os.rename
toshutil.move
should resolve the issue.The text was updated successfully, but these errors were encountered: