copying the dir/subdir structure from one server to another?
Hi All,
I want to copy the dir/subdir structure from SERVER-A to SERVER-B without copying all the files in each dir.
Is it possible using SCP / SFTP command?
For example,
SERVER-A has following two dir/subdirectories and files under each subdir.
When I am done issuing this command, following dir/subdir structure should be on SERVER-B but no files should be copied.
SERVER-B
Moderator's Comments:
Please use next time code tags for your code and data
Hi all
Is it possible to copy a structure of a directory only.
e.g.
I have a file with the following entries that is a result of a find :-
/dir1/dir2/file.dbf
/dir1/dir2/dir3/file1.dbf
/dir1/file.dbf
I want to copy these to a directory and keep the structure however starting at a new dir... (8 Replies)
hi
i have a script
compareFiles()
{
find /tmp/Satya -type f | \
while read filename1
do
echo "----------------------------------------$filename1"
find /tmp/Satya -type f | \
while read filename2
do
if diff $filename1 $filename2
then
echo "Both files... (3 Replies)
hi:
I have some files like this
folder1/recording1.mp3
folder1/docs/budget.doc
folder2/others/misc.mp3
folder3/others/notes.doc
all this folders and files are under the mp3 folder.
I would like to move just the mp3s to another folder but retain the subdir structure i have.
So if... (4 Replies)
I have created a directory structure and under the directory subdirectories and files are there.I need to move the entire thing
to another path.How can i write a script to do that.
currently the path of files is as below :
/data1/serial/mcycle/archive : under this path differnt sub dir exist ... (6 Replies)
Hello, I have a directory www with multiple directories. Every directory has site name with .htm, .html, .php files or sub directories with .htm, .php, .html file as example
- www
- sitename 1
- site 1
- sitename 2
- sitename 3
What I'm looking for is a... (7 Replies)
Hey all,
i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file.
any help is appreciated...thank you in advance (1 Reply)
Hi,
I want to run git status for the dir which has subdir ".git" in it with dir path mentioned in output log?
If a dir does not have .git subdir then skip that dir.
Dir will have 100 main dirs & 500 + subdirs and so on.
I appreciate all your help :b: (4 Replies)
HI,
I need to move all files from a dir & its all subdir to Archive folder which is indise dir only. and moved filename should changed to complete path ( Like Dir_subdir_subdir2_.._filename ). also all files names shoud capture in a file in order to mail
I written below code ... (11 Replies)
I am trying to figure out a way to script copying specific files from one dir structure to another.
I have a dir structure like this:
dira/author 1/book 1/file a.epub
/book 2/file b.epub
/author 2/book 1/file c.epub
/author 3/book 1/file d.epub
/book 2/file... (2 Replies)
How do I create a tar file for only dir and its subdir structures?? (4 Replies)
Discussion started by: vx04
4 Replies
LEARN ABOUT DEBIAN
roundup-demo
ROUNDUP-SERVER(1) General Commands Manual ROUNDUP-SERVER(1)NAME
roundup-demo - create a roundup "demo" tracker and launch its web interface
SYNOPSIS
roundup-demo [backend [nuke]]
OPTIONS
nuke Create a fresh demo tracker (deleting the existing one if any). If the additional backend argument is specified, the new demo
tracker will use the backend named (one of "anydbm", "sqlite", "metakit", "mysql" or "postgresql"; subject to availability on your
system).
DESCRIPTION
This command creates a fresh demo tracker for you to experiment with. The email features of Roundup will be turned off (so the nosy feature
won't send email). It does this by removing the nosyreaction.py module from the demo tracker's detectors directory.
If you wish, you may modify the demo tracker by editing its configuration files and HTML templates. See the customisation manual for infor-
mation about how to do that.
Once you've fiddled with the demo tracker, you may use it as a template for creating your real, live tracker. Simply run the roundup-admin
command to install the tracker from inside the demo tracker home directory, and it will be listed as an available template for installa-
tion. No data will be copied over.
AUTHOR
This manpage was written by Richard Jones <richard@users.sourceforge.net>.
27 July 2004 ROUNDUP-SERVER(1)