Please help finding a freeware that can do a special file copy

G

geu

Hello,

I am looking for a freeware (or not) which could do the thing I want which
is best understandable with this example :

I have about 30 html files in about 100 different subfolders (ALOP , APOQ,
etc..) :

C:\5\ALOP\001.html
C:\5\ALOP\ch\002.html
C:\5\ALOP\an\jut\003.html

C:\5\APIQ\001.html
C:\5\APIQ\ch\002.html
C:\5\APIQ\an\jut\003.html

etc..


I would like to copy them with a program so they are copied inside each main
subfolders (ALOP , APOQ, etc..) available after the main path "C:\5\":

C:\5\ALOP\001.html
C:\5\ALOP\002.html
C:\5\ALOP\003.html


C:\5\APIQ\001.html
C:\5\APIQ\002.html
C:\5\APIQ\003.html

etc..


Thank you very much in advance for any help,
See ya,
Geu
 
R

REM

I am looking for a freeware (or not) which could do the thing I want which
is best understandable with this example :
I have about 30 html files in about 100 different subfolders (ALOP , APOQ,
etc..) :




I would like to copy them with a program so they are copied inside each main
subfolders (ALOP , APOQ, etc..) available after the main path "C:\5\":

C:\5\APIQ\001.html
C:\5\APIQ\002.html
C:\5\APIQ\003.html

Xcopy can do this. It depends on which version of Windows you have as
to the exact commandline you'll need to enter. There was an xcopy32 in
98SE. I don't have it in XP. I have xcopy only.

XCOPY source [destination] /S /-Y

C:\5\ALOP\001.html
C:\5\ALOP\ch\002.html
C:\5\ALOP\an\jut\003.html
C:\5\APIQ\001.html
C:\5\APIQ\ch\002.html
C:\5\APIQ\an\jut\003.html

c:\> cd 5\ALOP

c:\5\ALOP> xcopy *.html c:\5\ALOP \S \-Y

c:\5\ALOP> cd c:\5\APIQ

c:\5\APIQ> xcopy *.html c:\5\APIQ \S \-Y

etc.

The '\S' copies from all subdirectories of where you are to the
destination you enter. Here, the destinations are:

c:\5\ALOP
c:\5\APIQ

The "\-Y" prompts the user before overwriting files identical in name,
but located in differing places.

Wildcard "*.html" will grab all files of that extension. You might
have .htm files also, I dunno.

Type "xcopy /?" or "xcopy32 /?" to see all switches.

"xcopy /? > c:\xcopy.txt" to write the help screen to a text file.
 
G

geu

Dear "REM",

Thank you very much for your help. I appreciated. ;-) I am on xp home. Only
html files.
I am afraid that your solution will take too long to prepare for me as I
have more than 100 differents folders.
Anyway I have made some tests and did not suceeded in doing it.

Any other idea?

Thank you again,
geu
 
R

REM

Dear "REM",
Thank you very much for your help. I appreciated. ;-) I am on xp home. Only
html files.
I am afraid that your solution will take too long to prepare for me as I
have more than 100 differents folders.

Anyway I have made some tests and did not suceeded in doing it.

Hmmm, if the examples you gave are real, typing the following should
work.

Let me try again. The beginning of each line is the DOS command
prompt. In line 1, you are in some other directory, so type what now
is in quotation marks: cd / to get to the root. Notice the prompt, the
part not in quotation marks changed, to reflect where you are:

prompt "command"
c:\somewhere else\> "cd \" (cd space backslash)

c:\> "cd 5\ALOP" (root prompt)

c:\5\ALOP> "xcopy *.html c:\5\ALOP \S \-Y"

c:\5\ALOP> "cd c:\5\APIQ"

c:\5\APIQ> "xcopy *.html c:\5\APIQ \S \-Y"

Then continue typing what is in quotation marks, looking to see that
the prompt shows as above at each command.

You can check the newsgroup "alt.msdos.batch" and get a batch file
written that will do as you request. Be sure to include to include
your OS: XP home

The above group is dedicated to teaching you how to solve a problem
using batch, rather than to simply solve the problem for you.
 
R

R.L

Hello,

I am looking for a freeware (or not) which could do the
thing I want which is best understandable with this example
:

I have about 30 html files in about 100 different
subfolders (ALOP , APOQ, etc..) :

C:\5\ALOP\001.html
C:\5\ALOP\ch\002.html
C:\5\ALOP\an\jut\003.html

C:\5\APIQ\001.html
C:\5\APIQ\ch\002.html
C:\5\APIQ\an\jut\003.html

etc..
I would like to copy them with a program so they are copied
inside each main subfolders (ALOP , APOQ, etc..) available
after the main path "C:\5\":

C:\5\ALOP\001.html
C:\5\ALOP\002.html
C:\5\ALOP\003.html


C:\5\APIQ\001.html
C:\5\APIQ\002.html
C:\5\APIQ\003.html

etc..


Just a suggestion that might not work, but it sounds like the
html files are all that it is you want to move. Why not use
window find/search utility and search within subfolder for
*.html in \5\APIQ\, then highlight all of them, open the
directory \5\APIQ\ in a new window and just copy and paste
them from the search window to the \5\APIQ\ directory
directly?? This will work unless you only want to move SOME
htmls but not all. If so, see if you could you wildcard to
search for them.




--
RL
*******************************************
Unofficial Adaware Updater:
http://home.earthlink.net/
~ringomei/Unofficial_adaware_updater.html

Little (File) Backer Upper:
http://home.earthlink.net/~ringomei/page2.html
*******************************************
 
G

geu

Dear "REM",

Thank you very much for your explanations. I failed (due to some cyclical
error) but I really have appreciated. ;-) I may ask in the batch newgroup.
Many thanks. ;-)

Dear "R.I.",

Thank you very much also. It works, but it is painful for many many folders.

Many thanks again to all, ;-)
All the best,
geu
 
R

R.L

Dear "R.I.",

Thank you very much also. It works, but it is painful for
many many folders.


If it is a job that you need to do frequently, perhaps you
want to take a look at this one and set it up the way you
want:

http://www.rundegren.com/software/instantbackup/

Looking at the screenshot,it seems that you can set them up
job by job, once and for all, including only *.html files




--
RL
*******************************************
Unofficial Adaware Updater:
http://home.earthlink.net/
~ringomei/Unofficial_adaware_updater.html

Little (File) Backer Upper:
http://home.earthlink.net/~ringomei/page2.html
*******************************************
 
R

R.L

If it is a job that you need to do frequently, perhaps you
want to take a look at this one and set it up the way you
want:


I am sorry, I embrassed myself again, Instant backup is not
freeware .... I thought I saw it mention a while ago an
perhaps was freeware at one point. Sorry...



--
RL
*******************************************
Unofficial Adaware Updater:
http://home.earthlink.net/
~ringomei/Unofficial_adaware_updater.html

Little (File) Backer Upper:
http://home.earthlink.net/~ringomei/page2.html
*******************************************
 
G

geu

Dear "R.I",
I am sorry, I embrassed myself again, Instant backup is not
freeware .... I thought I saw it mention a while ago an
perhaps was freeware at one point. Sorry...

No problem. Thank you for the suggestion. Alas it does not do the job done
(as he keeps the full folder struture).
There is another freeware that do the same : Syncback
http://www.syncback.com/

See ya,
geu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top