Sorry, I couldn't think of a more descriptive title.
Here is what I would like to do;
C:\Files\AAA 4567\Sub1\*.mp4 -> F:\Media\Sub1\*.mp4
C:\Files\AAA 5678\Sub2\*.mp4 -> F:\Media\Sub2\*.mp4
I would like to leave out the \AAA ####\ folders. These folders are created, and required, by another program so I can't just eliminate them.
I assume it's not possible but I thought I would ask.
Thank you
Do not duplicate subfolder
- Posts: 4
- Joined: 8 Feb 2021
-
- Posts: 2947
- Joined: 22 Aug 2012
Simply define your left-right base location pair as
left "C:\Files\AAA 4567" ; right "F:\Media" (leaving out the quotes)
This will sync the content of "C:\Files\AAA 4567" into "F:\Media".
left "C:\Files\AAA 4567" ; right "F:\Media" (leaving out the quotes)
This will sync the content of "C:\Files\AAA 4567" into "F:\Media".
- Posts: 4
- Joined: 8 Feb 2021
Thanks
That would require adding individual pairs for each "C:\Files\AAA ####\"
The #### section is dynamic. Once they are added the number doesn't change but new folders can be added.
I was hoping for a way to do it as one pair so i wouldn't have to add pairs every time a new folder was added.
The program is Plex. The files are Optimized versions of videos.
That would require adding individual pairs for each "C:\Files\AAA ####\"
The #### section is dynamic. Once they are added the number doesn't change but new folders can be added.
I was hoping for a way to do it as one pair so i wouldn't have to add pairs every time a new folder was added.
The program is Plex. The files are Optimized versions of videos.
-
- Posts: 2947
- Joined: 22 Aug 2012
> The #### section is dynamic
Ah, that makes it another problem!
The only solution I presently see is that you make a script (e.g. *.bat or *.cmd) that scans the C:\Files\ folder for "AAA ####" folders and successively launches an FFS (Update) sync for each of those "AAA ####" folders, invoking FFS with a command line instruction, passing it the correct parameters.
But, that is likely a tedious task.
Ah, that makes it another problem!
The only solution I presently see is that you make a script (e.g. *.bat or *.cmd) that scans the C:\Files\ folder for "AAA ####" folders and successively launches an FFS (Update) sync for each of those "AAA ####" folders, invoking FFS with a command line instruction, passing it the correct parameters.
But, that is likely a tedious task.
-
- Posts: 4867
- Joined: 11 Jun 2019
Yeah, that won't be possible from what I see. You are slightly too far off from a sync that it really isn't a sync anymore. I will ask, why do you want to backup the pre-transcoded copies at all?
- Posts: 4
- Joined: 8 Feb 2021
Thanks Plerry. I will take a look at the command line options for other jobs.
xCSxXenon; I Optimize to 3Mbps 720p copied to an SSD for offline use.
Either directly to a TV or through Kodi on a FireStick.
TV so I don't have to run the Plex server during power outages.
Kodi at a remote location with no or limited Internet.
The "AAA ####" folders don't cause problems, it's just the OCD kicking in. 🙂
xCSxXenon; I Optimize to 3Mbps 720p copied to an SSD for offline use.
Either directly to a TV or through Kodi on a FireStick.
TV so I don't have to run the Plex server during power outages.
Kodi at a remote location with no or limited Internet.
The "AAA ####" folders don't cause problems, it's just the OCD kicking in. 🙂
-
- Posts: 4867
- Joined: 11 Jun 2019
I see! Does Plex put these optimized files in a different location than the original files?
You could run a post-sync command/script that uses "forfiles" on the destination to find all files of a certain extension and run a command that moves them to the root directory, then have another "forfiles" that runs "rd /s /q" to remove directories.
You could run a post-sync command/script that uses "forfiles" on the destination to find all files of a certain extension and run a command that moves them to the root directory, then have another "forfiles" that runs "rd /s /q" to remove directories.
- Posts: 4
- Joined: 8 Feb 2021
Plex can either put them in the original location or a different one. In my case it's different.
I could come up with something but not sure it's worth it.
I still need the Show subdirectory, ie: F:\TV Shows\The Blacklist\S01E01.mp4
I can't just dump all *.mp4 files in one directory.
I could come up with something but not sure it's worth it.
I still need the Show subdirectory, ie: F:\TV Shows\The Blacklist\S01E01.mp4
I can't just dump all *.mp4 files in one directory.