User Tools

Site Tools


linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux [2022/01/03 00:40] – Pausing Terminal rjtlinux [2022/12/19 00:27] (current) – workign on renaming section rjt
Line 2: Line 2:
  
 ===== Fixes ===== ===== Fixes =====
 +
 +==== Copying ====
 +The progress bar when copying files from, for example, your hard disk to a USB drive, will usually fill up, then be stuck at 100% for a while. This isn't really a bug, //per se//: the bar fills when the data has been completely copied to the cache, then goes away when the data has finished moving to the disk. It's annoying!
 +
 +You can work round this by using [[rsync]] for larger files—
 +
 +<code>rsync -av --progress [source] [destination]</code>
 +
 +—or be more adventurous and mess with some system setup:
 +
 +  * https://askubuntu.com/questions/122113/copy-to-usb-memory-stick-really-slow
 +  * https://forum.manjaro.org/t/copying-progress-bar-hangs-at-100-when-copying-to-thumb-drive/37108
 +  * https://lonesysadmin.net/2013/12/22/better-linux-disk-caching-performance-vm-dirty_ratio/
 +
 ==== Memory ==== ==== Memory ====
 Not having a great time with the kernal's OOM((__O__ut-__O__f-__M__emory)) Killer at the moment; it's not doing the job I expected it to, and I'm getting freezes when I get down to about 1GB of RAM. Not having a great time with the kernal's OOM((__O__ut-__O__f-__M__emory)) Killer at the moment; it's not doing the job I expected it to, and I'm getting freezes when I get down to about 1GB of RAM.
Line 28: Line 42:
  
 ==== Renaming Multiple Files ==== ==== Renaming Multiple Files ====
-For me, **[[mmv]]** has the easiest syntax to remember. You'll probably have to install it. +For me, **[[mmv]]** has the easiest syntax to remember. You'll probably have to install it. There's a version of [[rename]] that uses [[Perl]] and allows [[regular expression]]s.
- +
-''mmv [options] [from[to]'' +
- +
-You use ''#[number]'' in your ''[to]'' to represent //wildcards// in your ''[from]''. +
- +
-=== Examples ===+
  
-Rename all files ''Treme SxxExx.mp4'' to ''SxxExx.mp4''\\  +Otherwise, [[GPRename]] is a graphical tool for batch renaming, and most [[file_manager|file managers]] should have some kind of batch file renaming built-in ([[Thunar]] does, [[pcmanfm]] doesn't).
-''mmv "Treme *" "#1"''+
  
 ===== See Also ===== ===== See Also =====
linux.1641130847.txt.gz · Last modified: 2022/01/03 00:40 by rjt