PDF download Download Article PDF download Download Article

This wikiHow teaches you how to move files and folders on Ubuntu. The easiest way to move file and folders is to use GNOME Files (formerly known as Nautilus), Ubuntu's default file manager, but you can also use simple Linux commands at the command prompt.

Method 1
Method 1 of 2:

Using the File Manager

PDF download Download Article
  1. It's the white folder icon on your application dock, which is usually on the left side of the screen. This displays the files and folders on your computer.[1]
  2. The folders are organized in a straightforward way—there's a Downloads folder where your downloads are saved by default, a folder for your Photos, etc.
    Advertisement
  3. Clicking the file or folder once will select it rather than opening it.
    • You can also move a file or folder by simply clicking and dragging it to a new location.
  4. If you want to completely move the file to another location rather than copy it, this key combination is the one you'll want.
    • If you want to copy the file so a version still remains in the original folder, use Ctrl + C instead.
  5. You can move the file to any folder as long as it isn't a read-only system folder.
  6. This pastes the file or folder (whether you cut or copied it) to its new location.
  7. Advertisement
Method 2
Method 2 of 2:

Using Linux Commands

PDF download Download Article
  1. This opens a terminal window to the command prompt.
  2. You'll be using the Linux mv command to move a file or folder from one directory to another. The command is used like this: mv source destination. The "source" is the file or folder you're moving, and "destination" is the place you're moving it to.
    • If you place a -i after the mv command, you'll be prompted if moving the file to the new location will overwrite another file in the destination directory. For specific flags and instructions on the mv command, type man mv at the prompt and press Enter to view its manual page.
    • If you want to copy the file instead of moving it, you'll use cp source destination instead. This will leave the original version of the file in place.
  3. If the directory you're moving the file to is not a subfolder of your current directory, be sure to include the full path.
    • For example, if you're moving a folder called photos from your home directory to a folder called /home/family, enter mv -i photos /home/family.
    • If a file or folder with the same name exists, you'll be prompted to enter Y to confirm or N to cancel. Enter your selection and press Enter when prompted.
  4. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Copy Files in Linux Copy Files in Linux: A Complete Guide
Rename Directory Linux Rename Linux Directory in Ubuntu, Fedora, & More
Use the Command Terminal in Windows 10 to Move and Copy Files/Folders Use the Windows 10 CLI to Move & Copy Files or Folders
Move Files on Android Move Files on an Android Phone or Tablet
Cygwin Command Cheat SheetCygwin Command Cheat Sheet
Drag and Drop Drag and Drop Files to Desktop or Folder
Cut and Paste4 Quick Ways to Cut and Paste Text on Any Device
Copy a Directory Linux Copy a Directory with the cp Command on Linux
Copy Files in Command PromptCopy Files in Command Prompt
Run Files in LinuxRun Files in Linux
Copy and Paste on a Mac5 Fastest Ways to Copy and Paste on a Mac or MacBook
Transfer Files to SD Card on Android Transfer Files to an SD Card on Android
Move Photos from a Phone to an SD Card Move Photos from a Phone to an SD Card
Save Linux FilesSave Linux Files
Advertisement

About This Article

Nicole Levine, MFA
Written by:
wikiHow Technology Writer
This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 29,269 times.
How helpful is this?
Co-authors: 6
Updated: April 2, 2025
Views: 29,269
Categories: Ubuntu
Article SummaryX

1. Click the Files app.
2. Select the file or folder to move.
3. Press Ctrl + X.
4. Go to the desired location.
5. Press Ctrl + V.

Did this summary help you?

Thanks to all authors for creating a page that has been read 29,269 times.

Is this article up to date?

Advertisement