Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote: > Almost, but you're trying to link a file on itself here ("$i->$i"). > Use this instead: > > $ for i in ./dir1/*.mp3; do ln -s $i . ;done > > or even more general: > > $ for i in */* ; do ln -s $i . ; done In case you didn't recognize the difference to your first try: You can use a directory as the second argument to ln as well, then it will create a link with the same name as the basename of the file in the first argument in that directory. All the backtick and find tricks suggested in the other answers of this thread are nice, but way overkill to your problem. Keep it simple, stupid. ;) Ciao -- Frank Barknecht _ ______footils.org_ __goto10.org__