mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-24 06:55:21 -07:00
hard link single files into dirs to process.
This commit is contained in:
parent
4e5d2b17be
commit
982f46c8a9
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ def getDirs(section, subsection):
|
||||||
makeDir(newPath)
|
makeDir(newPath)
|
||||||
|
|
||||||
# move file to its new path
|
# move file to its new path
|
||||||
shutil.move(mediafile, os.path.join(newPath, os.path.split(mediafile)[1]))
|
copy_link(mediafile, os.path.join(newPath, os.path.split(mediafile)[1]), 'hard')
|
||||||
|
|
||||||
removeEmptyFolders(path, removeRoot=False)
|
removeEmptyFolders(path, removeRoot=False)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue