<div dir="ltr">thank you so much for the help guys!</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 7, 2016 at 2:54 PM, Tom Roche <span dir="ltr"><<a href="mailto:Tom_Roche@pobox.com" target="_blank">Tom_Roche@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Michael @ <a href="http://lists.phxlinux.org/lurker/message/20160207.022735.736d654f.en.html" rel="noreferrer" target="_blank">http://lists.phxlinux.org/lurker/message/20160207.022735.736d654f.en.html</a><br>
<span class="">> I ran this command:<br>
<br>
> rsync -aWuq --delete-before /home/bmike1/Pictures /home/bmike1/Music /media/bmike1/Lexar32G<br>
<br>
> and I do not know if it worked.<br>
<br>
</span>For a good first approximation, compare the source and target directories/folders with, e.g., `du -s` and `find | wc -l`. That's also why I would not copy multiple source dirs into one target dir: it complicates that sort of check. Instead drive `rsync` with something like (in bash)<br>
<br>
RSYNC_OPTS='-aWuq --delete-before' # forces me to think about it<br>
TARGET_ROOT='/media/bmike1/Lexar32G'<br>
for SOURCE_DIR in \<br>
  '/home/bmike1/Music' \<br>
  '/home/bmike1/Pictures' \<br>
; do<br>
  TARGET_DIR="${TARGET_ROOT}/$(basename ${SOURCE_DIR})"<br>
  for CMD in \<br>
  Â  'date' \<br>
  Â  "du -s ${SOURCE_DIR}" \<br>
  Â  "find ${SOURCE_DIR} | wcl" \<br>
  Â  "mkdir -p ${TARGET_DIR}" \<br>
  Â  "rsync ${RSYNC_OPTS} ${SOURCE_DIR}/ ${TARGET_DIR}/" \<br>
  Â  "du -s ${TARGET_DIR}" \<br>
  Â  "find ${TARGET_DIR} | wcl" \<br>
  Â  'date' \<br>
  ; do<br>
  Â  echo -e "${CMD}"<br>
#  Â  eval "${CMD}"<br>
  done<br>
  echo # newline<br>
done<br>
<br>
Run that with the `eval` commented out first, just to show you what the commandlines are gonna be: if they look OK, uncomment the `eval` to actually do something.<br>
<br>
HTH, Tom Roche <<a href="mailto:Tom_Roche@pobox.com">Tom_Roche@pobox.com</a>><br>
<div class="HOEnZb"><div class="h5">---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">:-)~MIKE~(-:</span><br></div></div></div></div></div>
</div>