Article 4TGBB LN -s question

LN -s question

by
iammike2
from LinuxQuestions.org on (#4TGBB)
Need your help again.

I am using this snippet to make symlinks for a lot of files

Code:for file in $(ls <source path with spaces>/. |grep jpg); do ln -s <source path with spaces>/$file <destination path with spaces>/$file ; done
It works BUT, it doesn't handle files with special characters very well.

I tried with ' and " but no luck.

Thx in advance for any pointers.latest?d=yIl2AUoC8zA latest?i=7qw1_OHK_rs:rPxwCyH430I:F7zBnMy latest?i=7qw1_OHK_rs:rPxwCyH430I:V_sGLiP latest?d=qj6IDK7rITs latest?i=7qw1_OHK_rs:rPxwCyH430I:gIN9vFw7qw1_OHK_rs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments