1,631 reputation
516
bio website Idonthaveany
location Rainbow, ME
age 37
visits member for 2 years
seen yesterday

Way up high...


Dec
2
awarded  Yearling
Nov
8
comment How to rename file extension to lowercase?
@KasiyA you know what? try it first on your own on a pendrive with a FAT32 partition. Then you'll see…
Nov
8
comment How to rename file extension to lowercase?
@KasiyA do you understand what are the same file means?
Nov
8
comment How to rename file extension to lowercase?
And to get the error are the same file, do: touch gniourf; mv gniourf Gniourf.
Nov
8
comment How to rename file extension to lowercase?
Very likely, OP is on a case-insensitive filesystem (as was already mentioned in several comments). As an example, try it yourself on a pendrive with a FAT32 partition ;).
Nov
8
comment How to rename file extension to lowercase?
Where's the contradiction?
Nov
8
comment How to rename file extension to lowercase?
Did you read that the question mentions the following error? mv: ‘P1010521.JPG’ and ‘P1010521.jpg’ are the same file. Are the same file…
Oct
29
revised How do I insert a line at the top of a text file using the command line?
typo: forgot the \n in printf
Sep
30
awarded  Explainer
Sep
21
awarded  Custodian
Aug
13
awarded  Good Answer
Jul
24
awarded  bash
Jun
23
awarded  Enlightened
Jun
23
awarded  Nice Answer
May
1
awarded  Nice Answer
Apr
29
comment Need a shell script to find the latest file from a directory and move it to another on a weekly basis
Don't parse the output of ls
Apr
29
comment Need a shell script to find the latest file from a directory and move it to another on a weekly basis
Don't parse the output of ls
Apr
29
comment Need a shell script to find the latest file from a directory and move it to another on a weekly basis
Don't parse the output of ls.
Apr
27
comment Finding and deleting all files that begin with . within a directory
That's why I specified (though parenthesized) trying :D. You'll get some junk on stderr though. Also, why not, simply rm /home/terdon/foobar/.[^.]*? (oh, you will argue that this might potentially exceed the max number of arguments).
Apr
27
comment Finding and deleting all files that begin with . within a directory
Don't you mean find /path/to/start/dir/ -maxdepth 1 -name ".*" -type f -exec rm {} + instead? with -maxdepth 0 you won't find anything...