Skip to content

Instantly share code, notes, and snippets.

@alexclifford
Created January 16, 2014 00:19
Show Gist options
  • Save alexclifford/8447463 to your computer and use it in GitHub Desktop.
Save alexclifford/8447463 to your computer and use it in GitHub Desktop.
Example of a cron script to run before rsync-mirror to do SMB rsync's.
#!/bin/bash
# SMB mounts required for doing SMB rsync's with an rsync-mirror cron job
mount.cifs -o user=administrator,password=XXXXXXXX //test01/c$ /mnt/test01mount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment