About 165,000 results
Open links in new tab
  1. How to move all files and folders via mv command [duplicate] - linux

    How can I move all files and folders from one directory to another via mv command?

  2. How can I move a file to the current working directory?

    Jan 17, 2017 · To move a file to the current directory you (as you correctly surmised) need to indicate which directory to move to. This is because mv will note that the destination is a directory and will not …

  3. linux - how to move all files and folders to another folder using mv ...

    Aug 17, 2021 · 2 how can I move files and folders from a folder to another directory? I am using mv and my files is in a subfolder. do I have to use ../ to specify the path? I use cd / to go to the root. my folder …

  4. How to copy a file from a remote server to a local machine?

    Mar 5, 2015 · On Linux, to copy a folder and its content from the user (root in this example) directory, to a folder in the local user directory, I run this command on the local machine:

  5. How to move files in sftp server? - Unix & Linux Stack Exchange

    It has a mv command you can use to perform a move on the remote server. There's a good tutorial on using it here, titled: Unix: Flexibly moving files with lftp.

  6. How to move a file without preserving permissions - Unix & Linux …

    33 When you move a file within the same filesystem, mv detaches the file from its old location and attaches it to its new location; metadata such as permissions remains the same. When you move a …

  7. shell - How to move and overwrite subdirectories (and files) to parent ...

    Apr 13, 2016 · I have a ton of files and dirs in a subdirectory I want to move to the parent directory. There are already some files and dirs in the target directory which need to be overwritten. Files that …

  8. How can I move a file to /usr/local/bin? - Unix & Linux Stack Exchange

    Dec 20, 2023 · For some preliminary information, I am using WSL2. This is my first time using Linux. I would like to install Typst which is similar to LaTeX. I have used wget to download the file for my …

  9. linux - What permissions on a file or directory are needed to cp, mv ...

    Dec 28, 2021 · I am still not sure what permissions are needed to copy, move and rename files and directories owned by others or root.

  10. grep - How can you move (or copy) all files of a certain type to a ...

    If you want to move all the files inside a directory hierarchy to a single destination directory, in bash ≥4 (put shopt -s globstar in your ~/.bashrc) or zsh: mkdir ~/new-directory mv -i **/*.xxx ~/new-directory …