title: Copy file from cron job's pod to local directory in AKS
body: <p>I have created a cron job which runs every 60 min. In the job's container I have mounted emptyDir volume as detailed-logs. In my container I am writing a csv file at path <code>detailed-logs\logs.csv</code>. </p>
  
  <p>I am trying to copy this file from pod to local machine using <code>kubectl cp podname:detailed-logs\logs.csv \k8slogs\logs.csv</code> but it throws the error: </p>
  
  <blockquote>
    <p>path "detailed-logs\logs.csv" not found (no such file or directory). </p>
  </blockquote>
  
  <p>Once job runs successfully, pod created by job goes to <code>completed</code> state, is this can be a issue?</p>