In WordPress, While migration site, Media will large chunks to migrate. For making that seamless we should filter out all intermediate image sizes.
Below command will filter intermediate image sizes for upload-dir and create zip file
find uploads-dir -type f -print | egrep -v '\-[0-9]+x[0-9]+\.(jpg|png|jpeg|gif)$' | tar cvfz media-files.tar.gz -T -

