You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bash code does it the hard way
reverse_search_images_my_pupyl_search_and_replace_with_originals() {
echo "start this above pupyl source files directory"
thisDirectory="$PWD"
export_baseDirectory="$PUPYL_EXPORT_DIRECTORY"
if [[ -z "$1" ]]; then
echo "need directory to search"
else
target_Directory="$(basename "$1")"
# echo "target directory=$target_Directory"
for directoryFile in "$PUPYL_EXPORT_DIRECTORY"/"$target_Directory"/* ; do \
myVal=$(gfind "$directoryFile" -mindepth 1 -maxdepth 1 -type f -exec echo "{}" \; )
mySearch=$(basename "$myVal" )
gfind "$target_Directory" -type f -name "$mySearch" -exec gcp "{}" "$directoryFile"/. \;
done
fi
}
export -f reverse_search_images_my_pupyl_search_and_replace_with_originals
The text was updated successfully, but these errors were encountered:
Good idea! Actually we should had done this before. We'll start working on that, on the next couple of weeks should be part of the mainstream.
policratus
changed the title
exporting original images - rather than smaller copies in database
ποΈ exporting original images - rather than smaller copies in database
Oct 14, 2022
policratus
changed the title
ποΈ exporting original images - rather than smaller copies in database
ποΈ Exporting original images - rather than smaller copies in database
Nov 9, 2022
Hi - Is it possible to export the original images as opposed to the shrunken copies inside the pupyl database?
" It would be great to be able to batch interrogate the database using a Bash script (within the virtual environment) and the CLI to:
eg input (eg -in flag) search image to CLI and copy matches (within a defined match value) to a (-o flag) named folder
Originally posted by @rleaver152 in #122
"
The text was updated successfully, but these errors were encountered: