Actions

Podcast Synch Batch File

From Rabbi Blog

Revision as of 15:24, 20 May 2007 by Rabbi Bob (talk | contribs) (New page: Not finding a good way to manage my podcasts on my Sansa e250 and I'm already manually dumping files from iTunes anyway (my choice). For the meantime, here is synch.bat to del all files i...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Not finding a good way to manage my podcasts on my Sansa e250 and I'm already manually dumping files from iTunes anyway (my choice).

For the meantime, here is synch.bat to del all files in the Podcasts directory on the Sansa and then xcopy everything in the iTunes Podcasts directory. It's not quick, but it works.

echo off
cls
del "g:\music\podcasts\*" /S /Q
xcopy "D:\music\Ipod\Podcasts\*.mp3" /S "g:\music\Podcasts\"


Next step I plan to write something that checks:

  • Does file exist in both places - don't copy
  • Does file exist in dest and not in source - del dest
  • Does file exist in source and not in dest - copy source
  • Do I have enough room to copy source -> dest - copy oldest files first