How to move folder [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite













This question already has an answer here:



  • Moving folder and subfolder to another path

    4 answers



Can you tell me how to move a folder? I am trying to use mv but it does not work! I use Ubuntu and I am new.










share|improve this question















marked as duplicate by pomsky, dessert, Jacob Vlijm command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Feb 21 at 8:49


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 4




    normaly you would do: mv path/to/folder path/to/moved_folder - best would be if you post what u did write in termianl including the output, so we see what you problem might be.
    – AlexOnLinux
    Feb 21 at 7:52














up vote
0
down vote

favorite













This question already has an answer here:



  • Moving folder and subfolder to another path

    4 answers



Can you tell me how to move a folder? I am trying to use mv but it does not work! I use Ubuntu and I am new.










share|improve this question















marked as duplicate by pomsky, dessert, Jacob Vlijm command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Feb 21 at 8:49


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 4




    normaly you would do: mv path/to/folder path/to/moved_folder - best would be if you post what u did write in termianl including the output, so we see what you problem might be.
    – AlexOnLinux
    Feb 21 at 7:52












up vote
0
down vote

favorite









up vote
0
down vote

favorite












This question already has an answer here:



  • Moving folder and subfolder to another path

    4 answers



Can you tell me how to move a folder? I am trying to use mv but it does not work! I use Ubuntu and I am new.










share|improve this question
















This question already has an answer here:



  • Moving folder and subfolder to another path

    4 answers



Can you tell me how to move a folder? I am trying to use mv but it does not work! I use Ubuntu and I am new.





This question already has an answer here:



  • Moving folder and subfolder to another path

    4 answers







command-line






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 21 at 7:58









Melebius

3,82341636




3,82341636










asked Feb 21 at 7:46









Huy Nguyen

1




1




marked as duplicate by pomsky, dessert, Jacob Vlijm command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Feb 21 at 8:49


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by pomsky, dessert, Jacob Vlijm command-line
Users with the  command-line badge can single-handedly close command-line questions as duplicates and reopen them as needed.

StackExchange.ready(function()
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();

);
);
);
Feb 21 at 8:49


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









  • 4




    normaly you would do: mv path/to/folder path/to/moved_folder - best would be if you post what u did write in termianl including the output, so we see what you problem might be.
    – AlexOnLinux
    Feb 21 at 7:52












  • 4




    normaly you would do: mv path/to/folder path/to/moved_folder - best would be if you post what u did write in termianl including the output, so we see what you problem might be.
    – AlexOnLinux
    Feb 21 at 7:52







4




4




normaly you would do: mv path/to/folder path/to/moved_folder - best would be if you post what u did write in termianl including the output, so we see what you problem might be.
– AlexOnLinux
Feb 21 at 7:52




normaly you would do: mv path/to/folder path/to/moved_folder - best would be if you post what u did write in termianl including the output, so we see what you problem might be.
– AlexOnLinux
Feb 21 at 7:52










1 Answer
1






active

oldest

votes

















up vote
1
down vote













The command is mv foldername newfoldername



Example (mv /tmp/huy to be /tmp/huyN):



cd /tmp
/tmp$ mkdir huy
/tmp$ touch huy/testfile
/tmp$ mv huy huyN
/tmp$ ll huyN/
total 24
drwxrwxr-x 2 user user 4096 Feb 21 09:48 ./
drwxrwxrwt 36 root root 20480 Feb 21 09:48 ../
-rw-rw-r-- 1 user user 0 Feb 21 09:48 testfile
/tmp$


More info: man mv






share|improve this answer



























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    The command is mv foldername newfoldername



    Example (mv /tmp/huy to be /tmp/huyN):



    cd /tmp
    /tmp$ mkdir huy
    /tmp$ touch huy/testfile
    /tmp$ mv huy huyN
    /tmp$ ll huyN/
    total 24
    drwxrwxr-x 2 user user 4096 Feb 21 09:48 ./
    drwxrwxrwt 36 root root 20480 Feb 21 09:48 ../
    -rw-rw-r-- 1 user user 0 Feb 21 09:48 testfile
    /tmp$


    More info: man mv






    share|improve this answer
























      up vote
      1
      down vote













      The command is mv foldername newfoldername



      Example (mv /tmp/huy to be /tmp/huyN):



      cd /tmp
      /tmp$ mkdir huy
      /tmp$ touch huy/testfile
      /tmp$ mv huy huyN
      /tmp$ ll huyN/
      total 24
      drwxrwxr-x 2 user user 4096 Feb 21 09:48 ./
      drwxrwxrwt 36 root root 20480 Feb 21 09:48 ../
      -rw-rw-r-- 1 user user 0 Feb 21 09:48 testfile
      /tmp$


      More info: man mv






      share|improve this answer






















        up vote
        1
        down vote










        up vote
        1
        down vote









        The command is mv foldername newfoldername



        Example (mv /tmp/huy to be /tmp/huyN):



        cd /tmp
        /tmp$ mkdir huy
        /tmp$ touch huy/testfile
        /tmp$ mv huy huyN
        /tmp$ ll huyN/
        total 24
        drwxrwxr-x 2 user user 4096 Feb 21 09:48 ./
        drwxrwxrwt 36 root root 20480 Feb 21 09:48 ../
        -rw-rw-r-- 1 user user 0 Feb 21 09:48 testfile
        /tmp$


        More info: man mv






        share|improve this answer












        The command is mv foldername newfoldername



        Example (mv /tmp/huy to be /tmp/huyN):



        cd /tmp
        /tmp$ mkdir huy
        /tmp$ touch huy/testfile
        /tmp$ mv huy huyN
        /tmp$ ll huyN/
        total 24
        drwxrwxr-x 2 user user 4096 Feb 21 09:48 ./
        drwxrwxrwt 36 root root 20480 Feb 21 09:48 ../
        -rw-rw-r-- 1 user user 0 Feb 21 09:48 testfile
        /tmp$


        More info: man mv







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 21 at 7:51









        Yaron

        8,54271838




        8,54271838












            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491