04-14-2009
Creating links to multiple folders
Hi All,
First of all, I'm a unix newbie so don't be to hard on me
![Smilie Smilie](https://www.unix.com/images/smilies/smile.gif)
I'm not even sure if the thing that I want is even possible but here goes nothing:
On my linux based NAS I have the following structure:
videos
|---movie 1
|---movie 2
|---movie 3
|
USBDISK
|---videos
|--- movie 4
|--- movie 5
No I would really like, when I list "/videos" to show everything thats in the "/videos" folder PLUS everything that's in the "/USBDISK/videos" folder. No I'm kind of hoping that can be arranged with one soft link creation, but I don't think that's really possible. Another option would be to create a cronjob (I googled that term
![Smilie Smilie](https://www.unix.com/images/smilies/smile.gif)
) which looks at "/USBDISK/videos" every hour or so and will create a symbolic link for each and every movie that's not linked to "/videos" at that point. But I don't know if that's possible either... and if it is I have NO clue how to.
I hope my question is a little clear and that someone can help me... if not... thanks for reading that kind of noob question!
Regards,
Kees.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hii...
I want to list folders (no files and no symbolic links)..
But my
is giving me error..
please help...
Esham (7 Replies)
Discussion started by: esham
7 Replies
2. Shell Programming and Scripting
I want to make a symbolic link to a set of files in a particular directory if they exist. The number of files in the set is not known. The following script fails because it is ambigious.
if(-f dir1/*.a) then
ln -s dir1/*.a dir2/
endif
Can anyone help me?
Thanks a lot. (1 Reply)
Discussion started by: Deanne
1 Replies
3. Solaris
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)
Discussion started by: Chains
2 Replies
4. Shell Programming and Scripting
hi,
How do i create a tar file of a directory excluding the links in that particular directory and its sub-directories.
The below command doesnt work for me.
tar -cvf abc.tar /dir1 --exclude"^l" (1 Reply)
Discussion started by: yesmani
1 Replies
5. Programming
i'm trying to write a c code to copy a soft link over to a specified directory. Is it possible to do this without using symlink()?
if so, what can I use?
Thanks! (2 Replies)
Discussion started by: l flipboi l
2 Replies
6. IP Networking
Hi all,
I am working on a project where I need to access four random machines from a given subnet mask and sending files across the machines similar to peer to peer file systems. Now my question is. Given a subnet mask or If I obtain a random IP address of a machine from Subnet mask, how can I... (4 Replies)
Discussion started by: Pavan Kumar
4 Replies
7. Shell Programming and Scripting
Hello,
Greetings!
please help me produce the following solution. I need
to produce one big matrix file from several files in different levels.
If it helps, the index folder provides information on chromosome index and
the data folder provides information on values for chromosomes.
there... (8 Replies)
Discussion started by: newbie83
8 Replies
8. Shell Programming and Scripting
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*.*... (3 Replies)
Discussion started by: 8200
3 Replies
9. Shell Programming and Scripting
Hello, im trying to create folders from text file and i get errors :(
#!/bin/bash
awk 'BEGIN { RS = "/" } ; { mkdir $1, mkdir $2, mkdir $3, mkdir $4, mkdir $5}' zodziai.txt
im new in linux stuff just trying to learn. The idea is i want to create new folders from words in text file. I... (4 Replies)
Discussion started by: boxstep
4 Replies
10. UNIX for Dummies Questions & Answers
Hi I've been trying to find an answer to this question and was hoping someone would be able to help me.
I want to add a sub-folder to to an existing structure: for example
/toys/toy_1/new
/toys/toy_2/new
/toys/toy_3/new
There are humdreds of theses folders - what i want to do is add a... (2 Replies)
Discussion started by: LouSan
2 Replies
LEARN ABOUT DEBIAN
swfdump
swfdump(1) swftools swfdump(1)
NAME
swfdump - Display an SWF file's content.
Synopsis
swfdump [-atpdu] file.swf
DESCRIPTION
A tool for displaying information about flash files
swfdump shows ids, names and depths of objects defined in the SWF file. It can furthermore also disassemble Actionscript, extract texts,
and display placement information about objects.
OPTIONS
-h, --help
Print short help message and exit
-D, --full
Show everything. Same as -atp
-V, --version
Print version info and exit
-e, --html
Print out html code for embedding the file
-E, --xhtml
Print out xhtml code for embedding the file
-a, --action
Disassemble action tags
-t, --text
Show text fields (like swfstrings).
-s, --shapes
Show shape coordinates/styles
-F, --fonts
Show font information
-p, --placements
Show placement information
-B, --buttons
Show button information
-b, --bbox
Print tag's bounding boxes
-X, --width
Print out the horizontal dimension of the movie, in a string of the form "-X width"
-Y, --height
Print out the vertical dimension of the movie, in a string of the form "-Y height"
-r, --rate
Print out the frame rate of the movie, in a string of the form "-r rate".
-f, --frames
Print out the number of frames in the movie, in a string of the form "-f frames"
-d, --hex
Print hex output of tag data, too.
-u, --used
Show referred IDs for each Tag.
AUTHOR
Matthias Kramm <kramm@quiss.org>
swfdump February 2012 swfdump(1)