Finding and Moving Large Files onto USB Storage in Linux Mint Debian Edition

Abstract: Locate and transfer large files to USB storage in Linux Mint Debian Edition using find, rsync, and proper mounting techniques.

Created: 2026-08-12 by

Use the find command with size filters to locate large files, then transfer them to a mounted USB drive using cp or rsync. This approach ensures you identify space-hogging data and move it safely without filling your primary storage. Proper mounting and verification are essential for data integrity on removable media.

Identifying Large Files in Your System

Before moving any data, you must determine which files are consuming excessive disk space. Linux Mint Debian Edition provides powerful command-line tools for this task. The most effective method is using the find utility combined with size parameters. This allows you to search specific directories rather than scanning the entire filesystem, which can be slow and unnecessary. To find files larger than 1 gigabyte in your home directory, open a terminal and execute the following command:
find ~ -type f -size +1G -ls
This command breaks down as follows:
  • ~: Represents your home directory.
  • -type f: Restricts results to regular files, excluding folders.
  • -size +1G: Filters for files strictly greater than 1 gigabyte.
  • -ls: Displays detailed information similar to the ls command, including permissions and inode numbers.
If you suspect large files are located elsewhere, such as in /var/log or /tmp, adjust the starting path accordingly. For a broader search across the entire system (requiring sudo privileges), use / as the root path. Be cautious when searching root directories, as it may return permission denied errors for protected areas. For a more visual approach, you can use graphical tools like Baobab (Disk Usage Analyzer). Launch it from the application menu, select your partition, and let it generate a treemap visualization. This helps quickly spot large directories that might contain multiple medium-sized files rather than single massive ones. However, the command line remains faster for precise scripting and automation.

Preparing the USB Drive for Transfer

Once you have identified the target files, you need a destination. Insert your USB drive into an available port. Modern versions of Linux Mint typically auto-mount removable drives. Check your file manager’s sidebar under "Devices" to see if the drive appears. If it does not appear automatically, you may need to mount it manually. First, identify the device name using lsblk:
lsblk
Look for your USB drive, usually labeled as sdb1 or similar, distinct from your internal hard drives. Create a mount point if one does not exist:
sudo mkdir -p /media/usb
Then mount the drive. Note that the filesystem type matters. Most modern USB drives use FAT32 or exFAT. If the drive was formatted on Windows, it might be NTFS. Ensure you have the necessary drivers installed (e.g., exfat-fuse or ntfs-3g) before attempting to mount.
sudo mount /dev/sdb1 /media/usb
Verify the mount by checking free space with df -h /media/usb. This confirms the drive is accessible and writable. If you encounter read-only errors, refer to troubleshooting guides on USB Drive Read-Only After Using DD Command with Linux ISO to resolve potential permission or filesystem corruption issues.

Transferring Files Safely

With the source identified and the destination ready, proceed with the transfer. The cp command is simple but lacks progress indicators for large files. For better control, rsync is preferred. It supports resume capabilities, meaning if the transfer fails, you can restart without losing already copied data. To copy a large video file named movie.mp4 from your downloads folder to the USB drive:
rsync -av --progress ~/Downloads/movie.mp4 /media/usb/
The flags used here provide significant benefits:
  • -a: Archive mode, preserving permissions, timestamps, and symbolic links.
  • -v: Verbose output, showing each file being processed.
  • --progress: Displays the transfer progress for individual files.
If you are moving many small files that collectively exceed your USB capacity, consider compressing them first using tar or zip. This reduces overhead and speeds up the transfer process. However, for single large files like videos or disk images, direct copying is more efficient. Always verify the transfer. You can compare file sizes using ls -lh on both the source and destination. For critical data, use checksums. Generate an MD5 sum on the source:
md5sum ~/Downloads/movie.mp4
Then run the same command on the copied file in the USB drive. If the hashes match, the data is intact. This step is crucial for large files where bit-flips or interruptions could corrupt the content silently.

Safely Removing the USB Drive

Never unplug the USB drive while data is being written or cached. Linux uses write-back caching to improve performance, which means some data might still reside in RAM even after the command prompt returns. To ensure all data is flushed to the physical drive, use the sync command:
sync
After syncing, you can safely unmount the drive:
umount /media/usb
In most desktop environments, you can also click the eject icon next to the drive name in the file manager. This performs the same operations under the hood. For more details on safe removal practices, see Do USB Pendrives Really Need a Safe Removal?. Ignoring this step can lead to filesystem corruption, rendering the USB drive unreadable until repaired. Finally, check if the drive is still mounted by running mount | grep usb. If no output appears, the drive has been successfully detached. You can now physically remove it. Remember to maintain adequate spare capacity on your main drives to avoid fragmentation and performance degradation, as discussed in Identifying and Utilizing Spare Capacity on Your Storage Drive.

Frequently Asked Questions

What happens if I unplug the USB drive too early?

Unplugging prematurely can cause filesystem corruption, leading to lost data or a drive that becomes read-only. Linux caches writes to improve speed, so data may not reach the physical media immediately. Always use the sync command or the GUI eject button before removal.

Can I use FAT32 for files larger than 4GB?

No, the FAT32 filesystem has a maximum single file size limit of 4GB minus one byte. If your large files exceed this limit, format the USB drive using exFAT or NTFS. Linux Mint supports these formats natively with appropriate packages installed.

How do I find hidden large files?

Hidden files start with a dot (.) and are often overlooked. Use find ~ -name ".*" -type f -size +100M to locate hidden files larger than 100MB. These might include backup archives, log files, or cache data from applications.

Is rsync faster than cp for large transfers?

While both commands use similar underlying I/O operations, rsync is generally safer due to its ability to resume interrupted transfers. It also verifies data integrity during the copy process. For a one-time bulk move where interruption is unlikely, cp is slightly simpler, but rsync offers robustness for critical data.

Why does my USB drive show less space than advertised?

Manufacturers calculate storage using decimal gigabytes (1GB = 1,000,000,000 bytes), while operating systems use binary gibibytes (1GiB = 1,073,741,824 bytes). Additionally, formatting overhead consumes a small percentage of space. A 64GB drive will appear as approximately 59-60GB in Linux.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More