• Resolved orionfmsg

    (@orionfmsg)


    Hi Dion,

    This is a great plug-in that has saved me some time in migrating a site.

    Here is a couple of suggestions that would make it even better:

    1. If one accidentally forgets to set the “Set the imported date” to “File Time” (which should be the default — at least for site migration) instead of “Current Time”, the damage cannot be undone: All the files are imported to the current year and month. If one tries to import the same files again and set them to “File Time”, one gets error messages that the files already exist in the media library. It would be great, if instead just the import date could be updated, so the files would appear at the correct time in the media library.

    2. When migrating a site with many years of contents, it is a bit tedious that you have to go into every year/month sub folder to select files. Instead it would be great with an option to select a folder and do a recursive import from it.

    3. When importing from existing folders under wp-content/uploads/<year>/<month>, you could consider a third option for import date: The original date per the year/month folder. However, I guess that the file date will often be of the same year/month, so I guess this is not that important.

    Best regards,

    Frank

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Dion Hulse

    (@dd32)

    Meta Developer

    1. If one accidentally forgets to set the “Set the imported date” to “File Time” (which should be the default — at least for site migration) instead of “Current Time”, the damage cannot be undone:

    I’d suggest the proper way to fix this is to Delete the Media item and re-import.

    2. When migrating a site with many years of contents, it is a bit tedious

    This plugin isn’t designed for site migration, full stop. Please don’t use it for such. Please use a proper import/export tool for that job. If you’re forced into re-creating a site, use something like wp-cli in a batch import mode.

    3. When importing from existing folders under wp-content/uploads/<year>/<month>, you could consider a third option for import date:

    I think I’m likely to remove the post/file date options and just force it to the current date (unless in a from an existing folder – than that date, which is supposed to be supported in the plugin at present when using file-date I believe)

    This plugin is 8 years old and not maintained, treat it as such.

    Thread Starter orionfmsg

    (@orionfmsg)

    Thanks for your reply!

    1. If one accidentally forgets to set the “Set the imported date” to “File Time” (which should be the default — at least for site migration) instead of “Current Time”, the damage cannot be undone:

    I’d suggest the proper way to fix this is to Delete the Media item and re-import.

    Yeah, ok. I guess this is more of a “nice to have”.

    This plugin isn’t designed for site migration, full stop. Please don’t use it for such. Please use a proper import/export tool for that job. If you’re forced into re-creating a site, use something like wp-cli in a batch import mode.

    wp-cli is not possible for this client’s site as it is only accessible through FTP. I did use WordPress export/import tools to move the posts. Unfortunately, those tools does not handle file attachments well. One can chose to import file attachments, but they then get imported with references to the old site. Instead a manual file transfer of wp-content/uploads and search/replace in the WP moves the media files properly. However, the file attachments are then not part of the media library, which is where your tool comes in very handy :-), but perhaps there is better way to do this.

    I understand that your tool is not a migration tool as such, but I could imagine that it is used as part of site migrations quite a lot due to its feature of being able to get media files that have been manually transferred properly registered in the media library.

    I think I’m likely to remove the post/file date options and just force it to the current date (unless in a from an existing folder – than that date, which is supposed to be supported in the plugin at present when using file-date I believe)

    Sounds like a good way to deal with it!

    This plugin is 8 years old and not maintained, treat it as such.

    It is a free plug-in, so I can understand that you may not wish to spend a lot of time on it, but it is a good plug-in that comes in very handy, so no need consider it old!

    Thanks a lot for developing and maintaining it. It definitely made my job easier :-).

    Btw, I used it with WP 4.9.4 and it seems to work just fine.

    Best regards,

    Frank

    • This reply was modified 6 years, 3 months ago by orionfmsg.
    • This reply was modified 6 years, 3 months ago by orionfmsg.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot reimport files that were already imported via the plug-in’ is closed to new replies.