mattyx Posted August 9, 2019 Share Posted August 9, 2019 Hi there, I have noticed recently that my TV directory has a nested TV directory within it that contains a subset of shows and seasons of shows. Obviously, this is not ideal, although Plex seems fine with it. 2 questions: 1. Aside from reviewing my docker paths, what else can I do to determine the cause of this? 2. What is the best way to move these all up one directory (from /mnt/user/TV/TV to /mnt/user/TV) while preserving directory structure and such? I can do this with mc, but I'd prefer a one-liner than spending the time to do it manually. Thanks! Quote Link to comment
itimpi Posted August 9, 2019 Share Posted August 9, 2019 You could do it over the network without a problem. If you do a cut/paste from something like Windows Explorer it will be very fast as it is a move rather than a copy. That would be the least error prone. The most likely cause of such an issue is a copy or move you did from the command line that was not quite right. As an example using rsync it is easy to do this if you do not get the trailing slashes on the source and destination paths just right. Quote Link to comment
mattyx Posted August 9, 2019 Author Share Posted August 9, 2019 Thanks for the tip! One challenge is that there are many subdirectories, so moving them manually will be time consuming (and tedious). I am wondering if there's a sweet one-liner someone could suggest that would move everything up a directory level while preserving the subdirectory structure. Example: Moving files from /mnt/user/TV/TV/Show/Season-06 to /mnt/user/TV/Show/Season-06 (which may already exist and have some content). Thanks!! Quote Link to comment
itimpi Posted August 9, 2019 Share Posted August 9, 2019 It should only take a few seconds Using Windows Explorer Go into the additional TV level and do CTRL-A to select them all and then press the Cut button Go up a level to where you want them to finish Use the Paste button to move all files/folders to this level maintaining folder structure. Delete the spurious TV folder (which should now be empty) If using a Mac you use the same procedure in Finder. Quote Link to comment
mattyx Posted August 9, 2019 Author Share Posted August 9, 2019 Unless there's a merge feature in the Finder (there very well may be), the problem is that shows and even portions of seasons are split between the correct and incorrect locations. I tried what you suggested, but I am only offered "replace" or "stop" when I drop the folder. Any ideas? Quote Link to comment
JonathanM Posted August 9, 2019 Share Posted August 9, 2019 6 minutes ago, mattyx said: I tried what you suggested, but I am only offered "replace" or "stop" when I drop the folder. https://support.apple.com/kb/ph25633?locale=en_US "The Merge option appears only if one of the folders contains items that are not in the other folder. If the folders contain different versions of identically named files, the only options are Stop or Replace." Quote Link to comment
mattyx Posted August 9, 2019 Author Share Posted August 9, 2019 (edited) Hmm. I'm observing either that this feature is broken, or something is confusing it. I confirmed manually that there are no overlapping files, the parent folders are identically named, and I even copied a single season, rather than the whole lot. No dice, I'm only offered to replace or stop. EDIT: I totally missed the part where I have to hold option. My mistake! Sorry! It's working now. Thanks so much for the replies! Edited August 9, 2019 by mattyx new info Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.