Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup (-c) in destination folder #1451

Closed
Omertron opened this issue Mar 15, 2015 · 3 comments
Closed

Cleanup (-c) in destination folder #1451

Omertron opened this issue Mar 15, 2015 · 3 comments

Comments

@Omertron
Copy link
Member

Original issue 1452 created by Omertron on 2010-04-28T18:47:55.000Z:

The -c command line for cleaning up the output folder works well.
What is missing is the ability to cleanup the destination folder for the
NMT, the jukebox we actually use.
The problem is that destination folder will continue to collect extra files
that are no longer needed, especially when deleting TV episodes.

Would it be possible for a command line option '-cd path' for 'clean
destination' and the path added.
The user needs to add the path since YAMJ cannot know the final location
for installation based.

This way I can use: -c -cd {path}
in order to clean both at the same time when running YAMJ

@Omertron
Copy link
Member Author

Comment #1 originally posted by Omertron on 2010-04-28T19:46:01.000Z:

I don't understand what you mean?

Do you write to a local Jukebox and then copy the files to the PCH?

If so, you want to use a copy program that mirrors the directories rather than just
copies the new and changed files

@Omertron
Copy link
Member Author

Comment #2 originally posted by Omertron on 2010-04-28T20:03:19.000Z:

Yes, I write locally and then use xcopy in .bat file to copy to the PCH.

xcopy MyJukebox\AEon-Nachos-TV-Kids\ Y:\Jukebox\TV-Kids\ /Y /D /I /C /S /Q

Do you have a different suggestion for a command line copy/mirror program to use?

@Omertron
Copy link
Member Author

Comment #3 originally posted by Omertron on 2010-04-29T06:12:51.000Z:

Depending on your OS (Vista/Win7) you could use RoboCopy (free from MS) you might
have to install that
Or you can use SyncBack which is very powerful and will sync over FTP if that's what
you want too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant