421 reputation
419
bio website
location
age
visits member for 2 years, 2 months
seen 17 mins ago

Shyy erny anzr - Naqernf Rvonpu


2d
revised How to prevent `mv` from moving a collection of files into a single regular one?
edited title
2d
asked How to prevent `mv` from moving a collection of files into a single regular one?
2d
comment Terminal command vs. GUI drag & drop when copying large no. of files: Any tangible benefit?
You're fully right. Those GUI tools often do have a tendency to choke at large amounts of small files or a few extremely large ones. Please see my question also where I documented a variant of the latter behavior in full detail: unix.stackexchange.com/questions/92472/… . Plus, I filed a bug report to pcmanfm which showed that rather the method g_file_copy() must be at fault somehow: sourceforge.net/p/pcmanfm/bugs/917 Needless to say that said method is also used by nautilus or thunar.
2d
comment How to copy a very large video file with error in it?
Right. This is when it does make sense to have your defective drive partitioned somehow. :) Because this will make the (raw) partition images significantly smaller. If the HDD is 1 TB and you were using the whole 1 TB as one primary partition, you will have to get your hands on a destination HDD with a little more than 1 TB of continuous free space to put it onto. And this is not always as easy as it sounds...
2d
comment Using `select` command to print menu in Linux
OK, point taken.
Nov
20
comment Using `select` command to print menu in Linux
Hah, I too program in C and, you do need a break there in every section. However, you will never need a break in a case...esac block in a shell script. It can happen so easily to get them mixed up. :-)
Nov
20
comment bash script select menu
Ugh. The first ar=... one-liner parses ls; this is not recommended at all. And should you insist on parsing ls after all, use preferably ls | cut -f1 -d. instead: way less typing effort. Caveat: Both your and my solutions will also mistake anything following a . (dot) for an extension. For example, a file called invoice.miller.txt will be shown as "invoice", not "invoice.miller". -- Lastly: For first line, to avoid regular files, use find . -maxdepth 1 -type d.
Nov
15
awarded  Tag Editor
Nov
15
revised select wiki excerpt
added 162 characters in body
Nov
15
revised Creating Menu list and Executing the Task
Added new tag "select"
Nov
15
revised Using `select` command to print menu in Linux
Added new tag "select"
Nov
15
revised When selecting from the Menu not able to Perform task?
Removed silly "ubuntu" tag. This has nothing to do with the distro; it's general shell-scripting stuff.
Nov
15
revised bash script select menu
Added new tag "select"
Nov
15
wiki created select excerpt
Nov
15
suggested suggested edit on select tag wiki excerpt
Nov
15
suggested suggested edit on Creating Menu list and Executing the Task
Nov
15
suggested suggested edit on When selecting from the Menu not able to Perform task?
Nov
15
comment When selecting from the Menu not able to Perform task?
I'd rather use select here - this all looks a bit clumsy to me (let alone hard to expand for future additions). But heck, it was accepted as best solution, so I'm not going to mess with it any more.
Nov
15
suggested suggested edit on Using `select` command to print menu in Linux
Nov
15
suggested suggested edit on bash script select menu