Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Copy unix filesystem to windows Post 302335683 by DukeNuke2 on Monday 20th of July 2009 07:57:48 AM
Old 07-20-2009
you have acces to the filesystem... so what happens if you copy ALL the files? are there any problems?

have a look at the command "xcopy" from windows comman shell:

Code:
C:\>xcopy /?
Kopiert Dateien und Verzeichnisstrukturen.

XCOPY Quelle [Ziel] [/A | /M] [/D[:Datum]] [/P] [/S [/E]] [/V] [/W]
                    [/C] [/I] [/Q] [/F] [/L] [/G] [/H] [/R] [/T] [/U]
                    [/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z]
                    [/EXCLUDE:Datei1[+Datei2][+Datei3]...]

  Quelle    Die zu kopierenden Dateien.
  Ziel      Position und/oder Name der neuen Dateien.
  /A        Kopiert nur Dateien mit gesetztem Archivattribut,
            ändert das Attribut nicht.
  /M        Kopiert nur Dateien mit gesetztem Archivattribut,
            setzt das Attribut nach dem Kopieren zurück.
  /D:M-T-J  Kopiert nur die an oder nach dem Datum geänderten Dateien.
            Ist kein Datum angegeben, werden nur Dateien kopiert,
            die neuer als die bestehenden Zieldateien sind.
  /EXCLUDE:Datei1[+Datei2][+Datei3]...
            Gibt eine Liste von Zeichenfolgen an. Jede Zeichenfolge
            sollte in einer einzelnen Zeile in der Datei angezeigt werden.
            Wenn eine der Zeichenfolgen Teil des absoluten Verzeichnispfads
            der zu kopierenden Datei ist, wird diese Datei vom
            Kopiervorgang ausgeschlossen. Beispiel: Bei der
            Zeichenfolge \obj\ oder .obj werden alle Dateien
            unterhalb des Verzeichnisses OBJ bzw. alle Dateien mit
            der Erweiterung .obj vom Kopiervorgang ausgeschlossen.
  /P        Fordert vor dem Erstellen jeder Zieldatei eine Bestätigung.
  /S        Kopiert Verzeichnisse und Unterverzeichnisse, die nicht leer sind.
  /E        Kopiert alle Unterverzeichnisse (leer oder nicht leer).
            Wie /S /E. Mit dieser Option kann die Option /T geändert werden.
  /V        Überprüft jede neue Datei auf Korrektheit.
  /W        Fordert vor dem Beginn des Kopierens zu einem Tastendruck auf.
  /C        Setzt das Kopieren fort, auch wenn Fehler auftreten.
  /I        Falls Ziel nicht vorhanden ist und mehrere Dateien kopiert
            werden, nimmt XCOPY an, dass das Ziel ein Verzeichnis ist.
  /Q        Zeigt beim Kopieren keine Dateinamen an.
  /F        Zeigt die Namen der Quell- und Zieldateien beim Kopieren an.
  /L        Listet die Dateien auf, die ggf. kopiert werden.
  /G        Ermöglicht das Kopieren von verschlüsselten Dateien auf ein
            Ziel wo Verschlüsselung nicht unterstützt wird.
  /H        Kopiert auch Dateien mit den Attributen 'Versteckt' und 'System'.
  /R        Überschreibt schreibgeschützte Dateien.
  /T        Erstellt die Verzeichnisstruktur, kopiert aber keine Dateien.
            Leere oder Unterverzeichnisse werden nicht kopiert. Um auch diese
            zu kopieren, müssen Sie die Optionen /T /E angeben.
  /U        Kopiert nur Dateien, die im Zielverzeichnis vorhanden sind.
  /K        Kopiert Attribute. Standardmäßig wird 'Schreibgeschützt' gelöscht.
  /N        Beim Kopieren werden die erzeugten Kurznamen verwendet.
  /O        Kopiert Informationen über den Besitzer und ACL.
  /X        Kopiert Dateiüberwachungseinstellungen (bedingt /O).
  /Y        Unterdrückt die Aufforderung zur Bestätigung, dass eine
            vorhandene Zieldatei überschrieben werden soll.
  /-Y       Fordert zur Bestätigung auf, dass eine bestehende
            Zieldatei überschrieben werden soll.
  /Z        Kopiert Dateien in einem Modus, der einen Neustart ermöglicht.

Die Option /Y kann in der Umgebungsvariable COPYCMD vordefiniert sein.
Sie kann mit /-Y in der Befehlszeile deaktiviert werden.

my language is german in windows, so you might need to run "xcopy /?" on your system if you're not into german Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

copy data from Windows to Unix any help?

I have a log file that I would like to copy from my windows pc to my unix pc for further processuon. Is there any command that can help me perform this task?. I already have a cron to fire up the process, but nothing seems to be coming up. I am trying to use ftp but nothing is coming forth.... (8 Replies)
Discussion started by: odogbolu98
8 Replies

2. UNIX for Dummies Questions & Answers

copy and paste from MS Windows to Unix

Where I work we run unix through Microsoft windows, so my unix Windows appear on my MS Windows desktop. I surf the net with Microsoft Internet Explorer, is there anyway I can copy and paste examples from the net into my Unix windows? Thank you (9 Replies)
Discussion started by: Loaded Gun
9 Replies

3. UNIX for Dummies Questions & Answers

How to format a floppy in unix filesystem from windows

Hi, we have a strange problem. We have to format any floppy disk HD in unix filesystem mode (SCO) but we haven't unix workstations. Are there any software to make this formatting from windows xp pc ? Regards Gianpaolo (1 Reply)
Discussion started by: elektra
1 Replies

4. UNIX for Dummies Questions & Answers

Copy from Windows to Unix

How do i copy a jar file from Windows to Unix?I am using eTrust single sign on tool to connect to the unix server. (1 Reply)
Discussion started by: ghanshyam
1 Replies

5. UNIX for Advanced & Expert Users

Copy Paste across UNIX and Windows ?

how to select all the text from a file in Unix and then paste it in Notepad in windows? (4 Replies)
Discussion started by: skyineyes
4 Replies

6. UNIX for Dummies Questions & Answers

Copy file from Windows to Unix

I have a file in windows that I need to copy to UNIX. How can I FTP binary to the UNIX server. Thanks (2 Replies)
Discussion started by: abou202
2 Replies

7. Shell Programming and Scripting

Copy from vi Editor ( unix ) to windows

How to copy the complete content from a file in vi Editor to windows ( notepad ). I can use " select " and paste it to windows but this is restricted to current page. Not allowing me to scroll down or up when selecting the content.:confused: (1 Reply)
Discussion started by: frintocf
1 Replies

8. UNIX for Dummies Questions & Answers

copy paste to windows from unix

I generally highlight the content in unix terminal and use ctrl+v to paste in windows and it was working. Recently I noticed that if I copy in unix and paste in windows, it works once and then it does not work the second time. Then if I do a ctrl+c in a windows app to select a text and then go back... (3 Replies)
Discussion started by: carv_13
3 Replies

9. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

Can anybody please help me on how to code for the below requirement: I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies

10. Shell Programming and Scripting

UNIX command to copy files from Windows to UNIX box

Hi Folks, I have a file name abc.xml in my windows machine at the location c:\ytr\abc.xml which I want to place at the unix box machine inside cde directory.. at the following location that is /opt/app/cde/ now the credentials of unix box are abc345 -->(dummyid) ftyiu88--->(dummy passwd) ... (4 Replies)
Discussion started by: punpun66
4 Replies
DWARF_HIGHPC(3) 					   BSD Library Functions Manual 					   DWARF_HIGHPC(3)

NAME
dwarf_arrayorder, dwarf_bitoffset, dwarf_bitsize, dwarf_bytesize, dwarf_highpc, dwarf_highpc_b, dwarf_lowpc, dwarf_srclang -- retrieve the value of a DWARF attribute LIBRARY
DWARF Access Library (libdwarf, -ldwarf) SYNOPSIS
#include <libdwarf.h> int dwarf_arrayorder(Dwarf_Die die, Dwarf_Unsigned *ret_order, Dwarf_Error *err); int dwarf_bitoffset(Dwarf_Die die, Dwarf_Unsigned *ret_size, Dwarf_Error *err); int dwarf_bitsize(Dwarf_Die die, Dwarf_Unsigned *ret_size, Dwarf_Error *err); int dwarf_bytesize(Dwarf_Die die, Dwarf_Unsigned *ret_size, Dwarf_Error *err); int dwarf_highpc(Dwarf_Die die, Dwarf_Addr *ret_highpc, Dwarf_Error *err); int dwarf_highpc_b(Dwarf_Die die, Dwarf_Addr *ret_highpc, Dwarf_Half *ret_form, enum Dwarf_Form_Class *ret_class, Dwarf_Error *err); int dwarf_lowpc(Dwarf_Die die, Dwarf_Addr *ret_lowpc, Dwarf_Error *err); int dwarf_srclang(Dwarf_Die die, Dwarf_Unsigned *ret_lang, Dwarf_Error *err); DESCRIPTION
These convenience functions are used to retrieve DWARF attribute values associated with a Debugging Information Entry (DIE) descriptor denoted by argument die. These functions store the value of the requested attribute into the location pointed to by their second argument, provided that the requested attribute exists in the debugging information entry. The list of functions and the DWARF attribute that they retrieve are: dwarf_arrayorder() Retrieve the DW_AT_ordering attribute value. dwarf_bitoffset() Retrieve the DW_AT_bit_offset attribute value. dwarf_bitsize() Retrieve the DW_AT_bit_size attribute value. dwarf_bytesize() Retrieve the DW_AT_byte_size attribute value. dwarf_highpc() Retrieve the DW_AT_high_pc attribute value. dwarf_highpc_b() Retrieve the DW_AT_high_pc attribute value. dwarf_lowpc() Retrieve the DW_AT_low_pc attribute value. dwarf_srclang() Retrieve the DW_AT_language attribute value. Function dwarf_highpc_b() is an enhanced version of function dwarf_highpc(). It sets the location specified by argument ret_form to the form code of the attribute DW_AT_high_pc, and sets the location specified by argument ret_class to the class of that form. A value of NULL may be used for either of the arguments ret_form or ret_class if the caller is not interested in the respective value. RETURN VALUES
These functions return DW_DLV_OK on success. If the debugging information entry descriptor denoted by argument die does not contain the requested attribute, these functions return DW_DLV_NO_ENTRY and set argument err. For other errors, they return DW_DLV_ERROR and set argument err. ERRORS
These functions can fail with the following errors: [DW_DLE_ARGUMENT] Arguments die, ret_highpc, ret_lowpc, ret_size, ret_lang or ret_order were NULL. [DW_DLE_NO_ENTRY] Argument die had no requested attribute. SEE ALSO
dwarf(3), dwarf_attr(3), dwarf_attrlist(3), dwarf_hasattr(3), dwarf_get_form_class(3) BSD
July 22, 2014 BSD
All times are GMT -4. The time now is 06:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy