Using UNIX command to copy desktop files/folders

Hello All. I need help using UNIX command(s) to copy text documents and or folders from my lab computers to my desktop at home. Since I have such a slow connection, I think this will work best. I need help with the cp command and the path mostly. Since all files would be in folders on the desktop (including documents (that "missed" the folders), I believe I could simply copy desktop contents? Thanks, J Langlois

What you want to do is SCP (secure copy) your documents to your remote host.
send this command to the computer with the documents
scp ~/Desktop/FILEOR_FOLDERNAME USERNAME@REMOTE_COMPUTER:~/Desktop/
Replace all the stuff in UPPERCASE with the correct vales for your situation.
Mini (Intel Core Duo)   Mac OS X (10.4.8)  

Similar Messages

  • How to move folders from one server to another serve using unix command

    Hi All,
    How to move the folders from one server to another server using unix command.
    scp -r armops@sjarmprd01:/ARM/scripts [email protected]:/ARM/scripts/
    but it is giving an error like not a regular file .. what it means .. please let me know if any one knows about it
    Thanks
    Sreedhar

    not a regular file .. what it meansProbably you have some fifo (named pipe) files...
    Said that this has nothing to do with database (you should post on some nix forum, for example http://forums.oracle.com/forums/forum.jspa?forumID=135), you may try rsync* command (man rsync).

  • Convert .fmb and .rdf files to .txt using unix commands

    I want to know how to convert .fmb and .rdf files to .txt using unix commands
    Example ACCT_ACCOUNTS_ADMIN.fmb ---> ACCT_ACCOUNTS_ADMIN.txt
    agent_balances.rdf ---> agent_balances.txt
    NOTE: i don't want to use form builder or report builder.
    is there anyone who can help me
    Regards
    Harsh

    Thanks it helped and Just to add little bit on it
    for i in `ls *.fmb`
    do
    f60gen module=$i userid=$unpw forms_doc=yes batch=yes
    done
    Might help someone too.
    Thanks

  • Terminal - how to find my external hard drive using unix commands

    just discovered terminal and using cd and ls commands, which are the only commands i know, i realized that i can't find my external hard drive. i thought it would be listed on my desktop, as it is in the OSX interface, but it isn't there.
    not that im skilled enough to use terminal yet, but i thought the first step would be being able to navigate the computer's files.
    really curious as to where my external hard drive is and how i can find it using unix commands in terminal.
    i was trying to figure it out myself, then i thought surely someone knows this and could tell me in a sec.
    thanks.
    ibook   Mac OS X (10.4.4)  
    ibook   Mac OS X (10.4.4)  

    "ls /Volumes" will list all volumes, including internal and external hard drives and mounted disk images. I find "disktool -l" more useful in scripts, as it tells you which volume names correspond to which "mount points" under /Volumes. Usually they're the same, but if you have two volumes with the same name, or you try to remount a removable volume before it is fully unmounted, you'll end up with a mount point that consists of the volume name with a numerical suffix.

  • Execute graph using unix command

    I am new to endeca3.1
    is there any way available to run the graph using unix command?
    how can i schedule the graph in cron tab?

    Take a look at the Integrator ETL Server Guide (CloverETL Server), Chapter 6, Scheduling and also Chapter 14 on the Simple HTTP API.  This should allow you to schedule or invoke ETL Graphs published on the server.
    http://docs.oracle.com/cd/E40518_01/integrator.311/IntegratorServerGuide.pdf

  • Java , abab stack restart by using unix commands

    hi experts,
    i need steps to restart java , abab stack restart by using unix commands.
    plz any one give me clear steps.
    thanks& regards,
    Xi reddy

    Hi,
    Check following
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/c4dd9b9d91dd458e9e5c0386edeb86/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/fe/40a04270600d31e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/85/24a64201e7c511e10000000a1550b0/frameset.htm
    regards,
    kaushal

  • HT4889 when using migration does it copy the files to the new computer or transfer (leaving the files only on the new computer)?

    when using migration does it copy the files to the new computer or transfer them (leaving the files only on the new computer)?

    It leaves them on the old computer. Nothing will be changed on it.

  • Using Unix commands

    Im creating a webserver in java and I want to use UNIX commands to access another directory and run a CGI script. Im trying to cd into the cgi-bin directory and run the script using the Process and Runtime classes but it doesn't seem to change to the cgi-bin directory. Is there another way I'm supposed to do this in java?

    Read this: http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Using HOST command to copy files

    Platform is Win network (98/NT/2k Prof), application is loading a picture into a blob field. Button executes the get_file_name built in to let the user select a file from the network, but code must copy the file to a directory that is on the oracle server so that the bfilename function can access a local directory. Then I can use dbms_lob.loadfromfile to actually load the picture.
    The problem is that I cannot formulate a correct command for the HOST built in that will copy the file. I use message to display the command variable and it looks right, but the file does not get copied and the HOST command does not return an error.
    Any help would be appreciated, thanks.
    Mark.
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Marc Riesewijk ([email protected]):
    Hi Mark,
    You can use the library d2kwutil. It should be in a directory of the Developer demo's.
    In this pll-file, there a procedure which enable you to copy, delete and move files on Windows.
    Hope this helps!
    Marc<HR></BLOCKQUOTE>
    Ah,it's in \%orahome%\tools\devdem60\demos\forms\,I got it,it's Win_api_utility procedure,it has copy_file,delete_file etc.
    It's very good.:)
    null

  • Software Updates using Unix command hangs

    Every time I try to do a software update to my OS 10.6.4, 10.6.8 iMacs, the process stays an/or hangs and I have to cancel it. This is the last message in the log:
    Writing files…    Running package scripts…    Removing old files…    Optimizing system for installed software…    Moving items into place…
    I have left it there for 24 hours and it stills never finishes. When I check an individual machine, the updates are still outstanding, except the combo 10.6.8 on the machines that are running 10.6.4
    Any help on this? I am running a Snow Leopard server with the software update service and doing local updates on the machines. I have sent already a unix command to the machines to do a local update with my server ip.
    Thanks,
    Elizabeth Rodriguez
    Rancho Dominguez Prep

    If your using ARD , you should be able to send, and copy & run the installer on your client computers without needing to directly interact with the computers. 
    ie:
    download the 10.6.8 combo updaters v1.1.dmg onto your ARD computer
    double click on the dmg so your computer mounts it.
    open ard
    select  one or more client that need to update
    click on install icon from the ard toolbar (it should be right next to unix) (altertively
    a dialog box will pop up asking what you want to install
    click the +
    select the 10.6.8 combo update v1.1.pkg from the mounted disk image
    set restart after install to attempt or force restart.
    click install
    it's a good idea to send this installer to computers physicaly in the same location at one time. IE send the installer to 1 lab of computers, then the next lab. for classrooms you might find it better to do 1 classroom or one building at a time.

  • SAP Backup using Unix commands / tools

    Hi,
    We want to include file system backup process as part of our backup strategy. To test the waters, we are planning to take a backup of the at filesystems level. Following are the filesystems in our production systems. We have a test server (hostname is different), without any filesystems created beforehand. I want to know: 1. Which filesystems will be required from the below:
    Filesystem    GB blocks      Used      Free %Used Mounted on
    /dev/hd4           2.00      0.20      1.80   11% /
    /dev/hd2           5.00      2.07      2.93   42% /usr
    /dev/hd9var        2.00      0.07      1.93    4% /var
    /dev/hd3           2.00      0.77      1.23   39% /tmp
    /dev/hd1           0.06      0.00      0.06    2% /home
    /proc                 -         -         -    -  /proc
    /dev/hd10opt       0.31      0.21      0.10   68% /opt
    /dev/oraclelv     40.00      5.10     34.90   13% /oracle
    /dev/optoralv     10.00      0.00     10.00    1% /opt/oracle
    /dev/oracleGSPlv     40.00      4.34     35.66   11% /oracle/GSP
    /dev/sapdata1lv    397.50    331.72     65.78   84% /oracle/GSP/sapdata1
    /dev/sapdata2lv    297.50    194.58    102.92   66% /oracle/GSP/sapdata2
    /dev/sapdata3lv     98.75     47.09     51.66   48% /oracle/GSP/sapdata3
    /dev/sapdata4lv     98.75     38.08     60.67   39% /oracle/GSP/sapdata4
    /dev/origlogAlv     10.00      0.12      9.88    2% /oracle/GSP/origlogA
    /dev/origlogBlv     10.00      0.12      9.88    2% /oracle/GSP/origlogB
    /dev/mirrlogAlv     10.00      0.10      9.90    1% /oracle/GSP/mirrlogA
    /dev/mirrlogBlv     10.00      0.10      9.90    1% /oracle/GSP/mirrlogB
    /dev/oraarchlv    148.75     24.02    124.73   17% /oracle/GSP/oraarch
    /dev/usrsaplv     20.00      0.24     19.76    2% /usr/sap
    /dev/sapmntlv     20.00     10.84      9.16   55% /sapmnt
    /dev/usrsapGSPlv     20.00      7.89     12.11   40% /usr/sap/GSP
    /dev/saptranslv     20.00     17.54      2.46   88% /usr/sap/trans
    IDES:/sapcd       40.00     37.72      2.28   95% /sapcd
    GILSAPED:/usr/sap/trans     20.00     17.54      2.46   88% /usr/sap/trans
    2. Is it possible to directly backup the filesystems (like /dev/oracleGSPlv)? This requirement is because, when I backup (using tar) /oracle, all the folders in /oracle, like /oracle/GSP, /oracle/GSP/sapdata1 etc, are also backed up. I do not want it. I would like to backup the filesystems directly.
    3. Which unix backup tools are used to backup the individual filesystems?
    4. How do we restore the filesystems to the test server? Thanks for your advise. Abdul Edited by: Abdul Rahim Shaik on Feb 8, 2010 12:10 PM

    Hi,
    I am not sure about your OS as you have not mentioned it...
    If it is HP-UX then you can use "fbackup" backup for filesystem...
    and IGNITE to backup volume groups..
    fbackup will backup the filesystem only... but IGNITE backup creates bootable media for recovery...
    With IGNITE (make_tape_recovery) backup you can backup individual volume group.
    you can see the man pages for the details...
    #man fbackup
    #man make_tape_recovery
    It will be more easy to guide you if you provide your OS and Filesystem layout and what you need to backup...
    If you still want to use "tar" command for backup, use "--no-recursion" option to backup single directory
    Regards.
    Rajesh Narkhede

  • How to use the Dekstop Action in desktop files.

    I just recognized that desktop files can contain cool actions like e.g shutter:
    20 [Desktop Action Redo]
    21 Name=Redo last screenshot
    22 Exec=shutter --redo
    23 OnlyShowIn=Unity;
    24
    25 [Desktop Action Select]
    26 Name=Capture an area of the screen
    27 Exec=shutter --select
    28 OnlyShowIn=Unity;
    29
    30 [Desktop Action Screen]
    31 Name=Capture the entire screen
    32 Exec=shutter --full
    33 OnlyShowIn=Unity;
    34
    35 [Desktop Action Window]
    36 Name=Select a window to capture
    37 Exec=shutter --window
    38 OnlyShowIn=Unity;
    39
    40 [Desktop Action Active]
    41 Name=Capture the current active window
    42 Exec=shutter --active
    43 OnlyShowIn=Unity;
    What is their intention? Is there a way to make them more integrated into the desktop, e.g. as a global hotkey(aside form using their native commands)?
    Last edited by manuelschneid3r (2015-04-28 13:53:17)

    @jasonwryan Maybe this is hastily. But I find it impolite to move this to NC and post a link that you did not even read. If you did, you would have noticed that the topic goes beyond anything written in this wiki article. I really know what e desktop entry is.
    @ooo thank you.
    For future readers, from the specs: Application launchers should expose them to the user (for example, as a submenu) within the context of the application. This is used to build so called "Quicklists" or "Jumplists".
    Last edited by manuelschneid3r (2015-04-28 20:53:35)

  • Using tar command to copy faster

    Hi,
    I want to copy the apps directories and subdirectories to another location on same machine for cloning purpose.
    I know this can be achieved using tar command.
    Will you pls send me the tar command to archive and copy at the same time using pipe "|" .
    Thanks,
    Dnyanesh

    Hi Funky,
    Permissions are assigned based on uid, not username. When you unpack the tar file with the 'p' option as root, the files will have the same uid on the target system as they did on the source system. In this case, preserving permissions for 'root' should not be a problem. The uid for root (0) does not usually change. The complication is with the uid values for non-root users.
    As far as preserving the uid for non-root users (like oracle or applmgr)...mostly I just try to keep these in sync across my systems as much as possible. :) For example, although the applmgr user on my production system is 'applprod', and on my test system is 'appltest', they both have the same uid (1003). That way, when I unpack a tarball from my production system on my test system, all the files that were owned by 'applprod' show as being owned by 'appltest'.
    In your example, if user 'xxx' on production and user 'yyy' on the clone server had different uids (for example, 1003 and 1004), the easiest thing to do is to try changing the uid of user 'yyy' on the clone system:
    usermod -u 1003 yyy
    This will only work, of course, if there is no other user on your clone/target system with uid 1003. :-)
    If you do have another user on your target system with uid 1003, then when you unpack the tar file on the target, your files will definitely have the wrong owner. You can still change that without touching root-owned files by using chown to change just the files owned by the "wrong" user:
    chown -R --from wronguser correctuser $ORACLE_HOME
    If your Linux doesn't support the --from syntax for chown (I primarily use SUSE/SLES and don't have my Redhat VM handy to check), you could also use find:
    find $ORACLE_HOME -user wronguser -exec chown correctuser {} \;
    Again, the point of the chown and find commands is that they'll leave the files that are supposed to be owned by root untouched.
    Sorry for the long post, I tried to go for comprehensive instead of brief this time. :-)
    Regards,
    John P.

  • SFTP using Unix command

    Hi all,
    I am trying to upload a file from SAP to a folder in another server.
    Here they want us to use SFTP port 22 which is not supported by SAP by default i guess.
    Could any one give me clear procedure and commands to be used in program in order to upload the in file in the server.
    If you could give the methods and FMs and unix commands used it would be great.
    I went through lot of threads but very few are talking about SFTP and i am not the clear about how to go with it.
    Few say that we need to create and external command in SM59.
    IF it is so can you tell what exactly are the parameter to be given for ex i want to put a file so what would be the parameters and how do we use this command in my program
    Any sample code which puts the file another server???
    Thanx

    Check if your able to do sftp at command line from the server where BPEL is running.
    --Prasanna                                                                                                                                                                                                   

  • How to run an applescript using unix command

    Hi All,
    Can any one help me in giving me the command for running an apple script thru postupgrade shell file in other words i wana run an apple script while running my new installer that will upgrade the old version of application but while installing i want to run an applescript so as i know ill have to give that applescript path in the postupgrade script but how to run it while installation and where to keep it (is it postupgrade). May be in short how can i run apple script thru unix command.

    Use the osascript command.
    In my installer, I use the DropDMG program to build my DMG disk image. It doesn't quit automatically, so I have to do the following:
    osascript -e "tell application \"DropDMG\" to quit"
    Type "man osascript" for more information.

Maybe you are looking for