Question : Need Regular expression for the following date format: MM/dd/yyyy hh:mm

Need Regular expression for the following date format: MM/dd/yyyy hh:mm:ss AM or PM
seconds(:ss) are optional.

Answer : Need Regular expression for the following date format: MM/dd/yyyy hh:mm

Hi,

that's the "--delete" option.

Quoting the manpage ( http://www.samba.org/ftp/rsync/rsync.html )

--delete This tells rsync to delete extraneous files from the receiving side (ones that aren't on the sending side), but only for the directories that are being synchronized. You must have asked rsync to send the whole directory (e.g. "dir" or "dir/") without using a wildcard for the directory's contents (e.g. "dir/*") since the wildcard is expanded by the shell and rsync thus gets a request to transfer individual files, not the files' parent directory.  

wmp

Random Solutions  
 
programming4us programming4us