Reputation
1,586
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
8 20
Newest
 Yearling
Impact
~135k people reached

  • 0 posts edited
  • 2 helpful flags
  • 216 votes cast
Feb
8
awarded  Yearling
Dec
2
awarded  Notable Question
Jun
23
awarded  Notable Question
Jun
19
awarded  Popular Question
Jun
16
awarded  Enlightened
Jun
16
awarded  Nice Answer
Mar
20
awarded  Curious
Feb
8
awarded  Yearling
Sep
24
awarded  Autobiographer
May
15
awarded  Popular Question
Apr
28
awarded  Popular Question
Feb
8
awarded  Yearling
Oct
16
answered How to rename files and directory with *.~1~ suffix to original name?
Sep
5
revised cp or mv files to same directory they are already in when I am in another?
added 262 characters in body
Sep
5
revised cp or mv files to same directory they are already in when I am in another?
added 80 characters in body
Sep
5
comment cp or mv files to same directory they are already in when I am in another?
Your second comment was a simple omission on my part, that required a simple edit to fix. I don't see how this answer deserved a downvote. With the edit (technicality), it does solve the problem and is more general as it allows swapping any part of the path (I often used something similar on $PWD). Sure, maybe it's not the most elegant but it points to the fact that shell does have textual substitutions and word designators, which some users might still find useful to research.
Sep
5
revised cp or mv files to same directory they are already in when I am in another?
added 10 characters in body
Sep
5
answered cp or mv files to same directory they are already in when I am in another?
Aug
9
answered Applying a change to every line?
Aug
7
accepted Variable declaration in parallel sh -c …