New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create batch routine to copy missing files to the uploads folder #28

bobbingwide opened this Issue Jul 3, 2018 · 0 comments


None yet
1 participant
Copy link

bobbingwide commented Jul 3, 2018

When importing content from a different version of a site we need to get the attachment files from the wp-content/uploads directory. Sometimes it's not just a case of copy the latest month.


  • Simple batch routine to copy missing files from one folder to another
  • Only copy missing files; in the source folder but not in the target
  • Create missing sub-directories as required
  • Report differences

Proposed solution

  • New routine oik-upload.php
  • Copies files from the specified folder e.g. /backups-qw/ where the folder was extracted from a full site backup of the home directory
  • Copies files to the target folder of the local site
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment