Script for creating symbolic links to my photos (*.JPG)
Hi,
I have all my pictures as *.JPG and *.CR2 in the following folder structure:
/media/a_2TB/pictures/year/year-month-day-hour/picture*.*
But sometimes I added a subdirectory -->
/media/a_2TB/pictures/year/year-month-day-hour/suba/picture*.*
/media/a_2TB/pictures/year/year-month-day-hour/subb/picture*.*
I would like to create symbolic links to all pictures of a whole year.
The following command is working fine except of additional sub-directories.
What do I have to change to make it flexible to subfolders?
I tried changing the command but it then it won't work anyhow :-(
Altough the same command without the path variable does work:
Best regards,
Arthur
Hi,
I have a file with more than 1 layers of soft links for it. For ex.
ls -la .profile
.profile@ -> /home/act/.profile_abc
ls -la
/home/act/.profile_abc@ -> .profile_final
I want to get the name of the last file (i.e. .profile_final) when I refer to .profile using shell script. I... (2 Replies)
Hello,
the install routine puts automatically the servername "SERVER" in the symlink like:
hello.txt --> /SERVER/usr/lpp/hello.txt
world.txt --> /SERVER/usr/lpp/world.txt
... but i need to change this symlinks (without servername) to:
hello.txt --> /usr/lpp/hello.txt
world.txt -->... (3 Replies)
I've just started using UNIX in a Linux vmplayer. I'm trying to run the command:
ln -s `pwd`/$1 `python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`/$1
in a script from an online tutorial, but I keep getting an error message:
ln: creating symbolic link... (1 Reply)
Hi all,
I have scoured the entire forum for this but to no avail unfortunately. Basically, I would like to remove my symbolic link from my folder name i.e.
foldername -> /a/b/c/d/f
where f is indeed a folder. I have tried rmdir but this does not work and in actual fact deletes the... (4 Replies)
Hi,
I have a quick question with regards to creating symbolic links. Would creating a symbolic link from one directory to a file in another cause any issues for users that are currently logged into the box. I don't believe it will unless they are using the file in question, but I would like... (2 Replies)
Hi all,
This is my first message in this forum.
I'd like to know if there is a nice way to get the complete path from a symbolic link.
Example:
When I do a ls -ltr I see this output.
lrwxr-xr-x 1 mmmm users 66 Sep 4 09:58 LINK_SEND ->... (4 Replies)
I'm writing a ksh script which will reference a text file I have to create symbolic links for my application:
--file contents--
Link Directory Link Source Link Name
/users/05/dwisconbug bin link2bin
Now, this should create the following... (1 Reply)
I am linking a directory as follows:
ln -sf /home/xxx/userid/real_files/* /home/xxx/userid/linked_files
This gives me symbolic links for all the files in the real_files directory in the linked_files directory. My question is, if I go and remove a file in the real_files directory and then go... (1 Reply)