Search found 3 matches

by classic12
2018-12-11T09:09:55-07:00
Forum: Users
Topic: Background removal from reference image
Replies: 17
Views: 21469

Re: Background removal from reference image

Sorry corrected the last one replace space with "-"
for oldname in *
do
newname=`echo $oldname | sed -e 's/ //g'`
mv "$oldname" "$newname"
done
by classic12
2018-12-11T08:29:28-07:00
Forum: Users
Topic: Background removal from reference image
Replies: 17
Views: 21469

Re: Background removal from reference image

I found this as a work around

for oldname in *
do
newname=`echo $oldname | sed -e 's/ /_/g'`
mv "$oldname" "$newname"
done

This removes any spaces in the filename first.
by classic12
2018-12-11T08:09:45-07:00
Forum: Users
Topic: Background removal from reference image
Replies: 17
Views: 21469

Re: Background removal from reference image

Hi guys, I am trying to process all the .jpg files in a folder apply your process and place into a new folder. I have this code that processes the files then puts the new version into folder newImages. ( works but the result is not as good as your version ) find . -type f -name "*.jpg" -print0 | whi...