Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Move Movies into folders

Featured Replies

How can I easily move all my movies into new folders that are named as my moves?

 

For example all my movies all under a folder called Moveis but I would like them to be in a Folder and then the Movie but I want the folder to be names the same as the Movie?  I'm using a Mac.

 

Thanks

Connect via smb from the mac to the share folder containing movies.

 

make new folders with movie titles.

 

drag movies with matching titles into folders.

 

thats pretty easy.

I use TheRenamer for TV shows.  I think it works on movies too

Tons of hits for doing this over the network from Windows / Mac

@squirrellydw

 

Here is the code I currently use in one of my projects that runs nearly hourly to take the output of a Handbrake job and move it to its finally location Spaces Removed and replaced with a . and dropped into a folder that has the file name as its on.

Transformers.(2007)(1080).mp4  will become

Transformers.(2007)(1080)/Transformers.(2007)(1080).mp4 

 

#!/bin/bash

find /mnt/user/HandBrake/ZZZZZ -maxdepth 1 -type f -mmin +5 -exec mv {} /mnt/user/HandBrake/ZZZZZ/move2travel/ \;

#Remove Spaces and throw into move2travel folder
cd /mnt/user/HandBrake/ZZZZZ/move2travel/
for f in *\ *; do mv "$f" "${f// /.}"; done

#Create Folder from name and move to final location. File types editable below. We don't like spaces so the above had to work. 
for FILE in `ls /mnt/user/HandBrake/ZZZZZ/move2travel/ | egrep "mkv|mp4|avi|vob|iso|MKV|MP4|AVI|VOB|ISO"`
do
DIR=`echo $FILE | rev | cut -f 2- -d '.' | rev`
mkdir /mnt/disks/TOWER_Travel/$DIR
mv /mnt/user/HandBrake/ZZZZZ/move2travel/$FILE /mnt/disks/TOWER_Travel/$DIR
done

1 . First line moves all files, but insures that a file hasn't been touched for at least 5minutes because HandBrake might be processing it and I didn't want this script to move a file being written to. 

 

2. Now to give you a clue what is going on . I created couple of folders.

move2travel which is a temporary folder that pulls from a folder named ZZZZZ to remove spaces before it removes all spaces and then shovels it off to its final destination folder which I called TOWER_Travel

 

Anyways if you need any help or have any questions on my Bubble Gum, Duct Tape coding skills feel free to ask away. :D

This code Does not like Spaces so I had to remove them. 

 

HandBrake Share

/dump

/ZZZZZ

/ZZZZZ/move2travel

 

Move Share

/HD

/Travel aka SD versions

  • Author

thanks guys

Install couch potato and use its renamer function - set its watchfolder to your current folder and set the destination wherever you want and whatever file/folder naming structure you want

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.