Z
Zoungou
Jungspund
arcadm@bm1:/master/home/arcadm/scripts>
find /master/home/earcadm/BA_eAkte_accounting/out -newerat `date -d "1 month ago" +"%Y%m"`01 -type f -exec tar -cf Kat2-ServiceReport`date -d "1 month ago" +"%Y%m"`.tar {} \;
date: illegal option -- d
usage: date [-u] mmddHHMM[[cc]yy][.SS]
date [-u] [+format]
date -a [-]sss[.fff]
date: illegal option -- d
usage: date [-u] mmddHHMM[[cc]yy][.SS]
date [-u] [+format]
date -a [-]sss[.fff]
find: bad option -newerat
find: [-H | -L] path-list predicate-list
find /master/home/earcadm/BA_eAkte_accounting/out -newerat `date -d "1 month ago" +"%Y%m"`01 -type f -exec tar -cf Kat2-ServiceReport`date -d "1 month ago" +"%Y%m"`.tar {} \;
date: illegal option -- d
usage: date [-u] mmddHHMM[[cc]yy][.SS]
date [-u] [+format]
date -a [-]sss[.fff]
date: illegal option -- d
usage: date [-u] mmddHHMM[[cc]yy][.SS]
date [-u] [+format]
date -a [-]sss[.fff]
find: bad option -newerat
find: [-H | -L] path-list predicate-list