Results 1 to 9 of 9

Thread: moving files using Konsole.

  1. #1
    Join Date
    Jun 2008
    Location
    Alberta, Canada
    Posts
    457

    Default moving files using Konsole.

    Hi all,

    Now that I am starting to get more comfortable with Opensuse, I am starting to open the Konsole more and reading how to install applications.

    Now, I would like to start to learn how to copy/move files and folders through command line.

    What are some of the commands to copy/move files and folders?

    Thanks,

    Heeter
    Linux Counter 475994

  2. #2
    Join Date
    Jan 2008
    Location
    U.K East Anglia
    Posts
    2,581

    Default Re: moving files using Konsole.

    man cp & man mv are very interesting reads

    Andy
    To be is to do = Immanuel Kant
    To do is to be = Descartes.
    Do be do be do = Frank Sinatra

    SuSE user since 7.0,Linux user since 1994

  3. #3
    Join Date
    Jun 2008
    Location
    Alberta, Canada
    Posts
    457

    Default Re: moving files using Konsole.

    Wow,

    Right on,

    Thanks deltaflyer, didn't know about man.

    Can I mv folders as well as files with same command? It just says files in man.

    Thanks again,

    Heeter
    Linux Counter 475994

  4. #4
    ab@novell.com NNTP User

    Default Re: moving files using Konsole.

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Yes.

    Good luck.





    Heeter wrote:
    > Wow,
    >
    > Right on,
    >
    > Thanks deltaflyer, didn't know about man.
    >
    > Can I mv folders as well as files with same command? It just says files
    > in man.
    >
    > Thanks again,
    >
    > Heeter
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFI91rp3s42bA80+9kRAnM1AJ4hU75rvTNmXzdfyIYm1wzZc38CqQCcDeMl
    AIVCjuOVVnJosFhmxizT+ag=
    =/9mk
    -----END PGP SIGNATURE-----

  5. #5
    Join Date
    Sep 2008
    Location
    Near Brussels, Belgium N50 50.394 E4 29.462
    Posts
    318

    Default Re: moving files using Konsole.

    Heeter wrote:

    > Now that I am starting to get more comfortable with Opensuse, I am
    > starting to open the Konsole more and reading how to install
    > applications.
    >
    > Now, I would like to start to learn how to copy/move files and folders
    > through command line.
    >
    > What are some of the commands to copy/move files and folders?


    Try mc. :-)

  6. #6
    Join Date
    Jun 2008
    Location
    Glasgow, Scotland
    Posts
    184

    Default Re: moving files using Konsole.

    Quote Originally Posted by Heeter View Post
    Wow,

    Right on,

    Thanks deltaflyer, didn't know about man.

    Can I mv folders as well as files with same command? It just says files in man.

    Thanks again,

    Heeter
    When you move a folder, you have to use -r (recursive) otherwise SuSe won't know if it's supposed to move everything within the folder.

    Like this:

    mv -r test /somewhere/here

    or

    cp -r test /somewhere/here

  7. #7

    Default Re: moving files using Konsole.

    Actually, 'mv' doesn't have a '-r' flag. only 'cp'. It is required with 'cp' when you want to copy directories.

    g

  8. #8
    ab@novell.com NNTP User

    Default Re: moving files using Konsole.

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    No, that is completely untrue.

    Good luck.





    chyrania wrote:
    > Heeter;1883919 Wrote:
    >> Wow,
    >>
    >> Right on,
    >>
    >> Thanks deltaflyer, didn't know about man.
    >>
    >> Can I mv folders as well as files with same command? It just says files
    >> in man.
    >>
    >> Thanks again,
    >>
    >> Heeter

    >
    > When you move a folder, you have to use -r (recursive) otherwise SuSe
    > won't know if it's supposed to move everything within the folder.
    >
    > Like this:
    >
    > mv -r test /somewhere/here
    >
    > or
    >
    > cp -r test /somewhere/here
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFI+L8t3s42bA80+9kRAkP9AJ9CwSAXwZT+mNxfOWhiDfXkyl3lhgCfRPZW
    Gqu9d8aKUDp3kNR1plljfnY=
    =ja8n
    -----END PGP SIGNATURE-----

  9. #9
    Join Date
    Jun 2008
    Location
    Glasgow, Scotland
    Posts
    184

    Default Re: moving files using Konsole.

    I had no idea mv didn't have an -r flag.

    Thanks for that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •