LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-18-2010, 11:09 PM   #1
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Rep: Reputation: 51
symlinks not updating


HI,

Not sure what else to call it. My softlinks are not updating to reflect the parent/linked folder-files.
Code:
ln -s /folder/* /home/user/Music
This produces what I want. However, if I make any changes to /folder/, I dont see a reflected change in the links at /home/usr/Music.

A added plus would be to be able to use folder/file thumbnails from the source directory on the symlinks. Are sym links just shortcuts or are they real links to the directory (dynamic).
 
Old 10-19-2010, 01:17 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Symbolic links are just "shortcuts" as you call them.

You created links inside the Music directory that pointed to files/directories inside /folder. There is no reason why new files in /folder should have new symbolic links created.

Perhaps what you really wanted was to do this (after completely removing the directory Music):
Code:
ln -s /folder/ /home/user/Music
which would create a symbolic link called Music pointing to /folder/.

Last edited by neonsignal; 10-19-2010 at 01:18 AM.
 
1 members found this post helpful.
Old 10-19-2010, 01:27 AM   #3
mrmnemo
Member
 
Registered: Aug 2009
Distribution: linux
Posts: 527

Original Poster
Rep: Reputation: 51
that would make sense. However, after checking a few other links, i found that it was only the music folder that didnt update. Both "parent" folders are on the same drive/partition. so, /storage/books links and updates; whereas, /storage/music does not. I had thought I could do it the way you had suggested. It would be nice to know what is causing the problem though. could the noatime mount flag have caused this when I moved a folder up one level ?
 
  


Reply

Tags
softlinks thmbnails gnome



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Symlinks and .. smidgie82 Linux - General 2 12-21-2005 04:13 PM
? on symlinks eroica Linux - Software 1 09-21-2004 09:45 AM
symlinks.. NSKL Slackware 3 05-26-2002 05:35 PM
Symlinks b0b0 Linux - General 2 11-08-2001 08:43 AM
symlinks tstuhr Linux - General 3 10-05-2001 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration