Announcement

Collapse
No announcement yet.

my files: root/home/bumpy/home/bumpy need revision

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bumpalot
    replied
    That worked perfectly - Thanks for you quick help!
    Last edited by Bumpalot; Sep 18, 2015, 08:55 AM. Reason: removing info

    Leave a comment:


  • kubicle
    replied
    Originally posted by oshunluvr View Post
    Oh sorry, I forget mv doesn't work with -R, try

    mv /home/bumpy/home/bumpy/* /home/bumpy
    That is a potential dotglob trap.

    By default, in bash, the "*" does not match (glob) files/directories that start with "." (hidden files and directories), unless the dotglob shell option is set. I'd run (to be sure):
    shopt -s dotglob; mv /home/bumpy/home/bumpy/* /home/bumpy/

    You can of course avoid globbing (*) altogether and copy directories:
    mv /home/bumpy/home/bumpy /home/

    Leave a comment:


  • oshunluvr
    replied
    Oh sorry, I forget mv doesn't work with -R, try

    mv /home/bumpy/home/bumpy/* /home/bumpy

    Leave a comment:


  • Bumpalot
    replied
    Re mv -R /home/bumpy/home/bumpy/* /home/bumpy
    Termina; bumpy@peterputer:~$ mv -R /home/bumpy/home/bumpy/* /home/bumpy
    mv: invalid option -- 'R'
    Try 'mv --help' for more information.
    bumpy@peterputer:~$
    Can't figure what to pick - please advise

    Leave a comment:


  • oshunluvr
    replied
    By "root" I assume you mean "/"

    mv -R /home/bumpy/home/bumpy/* /home/bumpy

    should do it

    Leave a comment:


  • Bumpalot
    started a topic my files: root/home/bumpy/home/bumpy need revision

    my files: root/home/bumpy/home/bumpy need revision

    Unfortunately I Ark recovered my backup files to the wrong directory.
    Current: root/home/bumpy/home/bumpy
    Can't figure out how to move them to root/home/bumpy.
    Suggestions would be appreciated!

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X