Results 1 to 2 of 2
hi,
I am using Mandriva and i would like to make a script with shell.
I try to do a file synchronizer and I need to go recursively on a ...
- 05-26-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 2
file synchronizer shell
hi,
I am using Mandriva and i would like to make a script with shell.
I try to do a file synchronizer and I need to go recursively on a directory containing several files and subdirectories etc. .. and retrieve information on the modification date, names ...
My first question: I have some problems to create a recursive function to browse the given directory tree .Someone could help me?
the second question: how can I recover directories located on another pc connected to my pc.
Again thank you in advance.
- 05-26-2008 #2
hi,
- first q
you can use the find command to go recursively through a given tree.
for example the following will display with details every file or directory under /
-second qCode:find / -exec ls -l {} \;
have a look at rsyncLinux and me it's a love story


Reply With Quote