Hi, it is not question about ImageMagick but I see you guys rock!
It is CentOS (bash). Thank you anyway
Search found 6 matches
- 2017-03-06T12:37:42-07:00
- Forum: Users
- Topic: Watermark all images in sub folders
- Replies: 30
- Views: 53429
- 2017-03-06T11:29:15-07:00
- Forum: Users
- Topic: Watermark all images in sub folders
- Replies: 30
- Views: 53429
Re: Watermark all images in sub folders
OK, thank you!
Is it possible by default to hide those backslashes if they don't exist?
Is it possible by default to hide those backslashes if they don't exist?
- 2017-03-06T02:59:45-07:00
- Forum: Users
- Topic: Watermark all images in sub folders
- Replies: 30
- Views: 53429
Re: Watermark all images in sub folders
Hey guys, there is new problem. When I check folder list in bash, I see all directories with space character, now having backslash. In WinSCP this backslash is not visible. Please see the image with directory list http://clip2net.com/clip/m278717/c0c2c-clip-71kb.png Can I do something to remove ...
- 2017-03-02T07:26:53-07:00
- Forum: Users
- Topic: Watermark all images in sub folders
- Replies: 30
- Views: 53429
Re: Watermark all images in sub folders
With regard to spaces, try this #!/bin/bash OLDIFS=$IFS IFS=$'\n' cd list=`find /home/path/public_html/watermark/test/original -type d` echo "list=$list" for directory in $list; do echo "directory=$directory" cd $directory mogrify -draw "gravity center image src-over 0,0 150,200 '/home/path/public ...
- 2017-02-24T18:05:02-07:00
- Forum: Users
- Topic: Watermark all images in sub folders
- Replies: 30
- Views: 53429
Re: Watermark all images in sub folders
I tried with space first. For example folder name "TOP 5". This will not be done because it shows error that folder TOP was not found.
- 2017-02-24T03:29:54-07:00
- Forum: Users
- Topic: Watermark all images in sub folders
- Replies: 30
- Views: 53429
Re: Watermark all images in sub folders
Hi guys, I see this post is quite old but it helped me out to set a script for mogrify. Only problem I have is that it works only for subfolders without space or special characters. Can you correct my script to work also with other characters. This would be like put "directory name" in double quotes ...