0
votes
2answers
91 views

How to run multiple commands with psexec?

I need to run a command to uninstall forefront on some of our workstations and am having a bit of trouble formatting the command. Here's what needs to happen (in multiple commands) xcopy ...
0
votes
3answers
207 views

copy directory including 'base' folder

I need to copy folderA into folderB via the command line: c:\temp \folderA \folderB should become c:\temp \folderA \folderB\folderA That is, exactly the same ...
0
votes
1answer
111 views

how i can send and get file by using sftp?

how i can send and get file by using sftp ????
0
votes
2answers
904 views

sftp remotly copy in bash file “unix”?

how i can write bash file to copy files from unix box to windows "remotly" box by sftp command ???
2
votes
5answers
2k views

How do I copy a directory tree but not the files in Linux?

I want to copy about 200 directories & subdirectories from one location to another but I don't want to copy the thousands of files within those directories. I am on Linux. Note: I don't have ...
0
votes
3answers
3k views

SUDO permissions, file copy/chmod question?

So, I'm logged in as sudo, and seeing this... why? $ cd /var/www/drupal-6.19/sites/default $ ls default.settings.php $ sudo -v [sudo] password for sudo_username: $ cp default.settings.php ...
0
votes
3answers
2k views

how to copy to shared folders from command-line in vmware-workstation?

I've been trying to access my shared folders from the command line in my virtual machine with no luck. I've stumbled across a couple of references to using net use to establish a virtual drive, but i ...
14
votes
7answers
37k views

How to cp file and create directory if not exists?

I want to copy modified files in a svn repository to another directory, while keep their directory structure. After reading awk and xargs manpage I find a way to get changed filenames like this: $ ...
1
vote
2answers
587 views

Copy File to Clipboard

Simple Question that I just realized would be very useful. Under Linux (or really any 'nix environment) is it possible from the command line (or by other fashions, but primarily command line) to copy ...
7
votes
5answers
39k views

What is the windows command line command to copy files?

What is the windows command prompt command to copy files? I need to move a file from location A to location B. Also if the folder for location B doesn't' exists I want to have it created. I need ...