Bug 395405

Summary: new rename method: add current directory name
Product: [Applications] dolphin Reporter: Unknown <null>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: elvis.angelaccio, nate, null
Priority: NOR    
Version: 17.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Unknown 2018-06-15 00:24:46 UTC
dolphin f2 rename  method.
we know command is this only.
### = number.
we want new rename method.
it's add current directory name.
if command next here.
pwd = current directory name.

exsample:
currentdirectory = current1 - file2
rename contents = file2 to file01
and add currentdirectory name.
command exsample [pwd].
## = 01
file##-pwd

result = file01-current1

we know good patch.
but don't known to where add request comment.
Bug 371383
https://phabricator.kde.org/D10698

if this not clear report, sorry.
Comment 1 Nate Graham 2018-06-15 02:51:27 UTC
Sorry, I'm afraid I can't understand the request. Are you saying that https://phabricator.kde.org/D10698 would fix this?
Comment 2 Unknown 2018-06-17 16:40:06 UTC
(In reply to Nate Graham from comment #1)
> Sorry, I'm afraid I can't understand the request. Are you saying that
> https://phabricator.kde.org/D10698 would fix this?

it's request.
sorry for strange bug report.
request is new rename method for dolphin renamer.
add current directory name.
Comment 3 Nate Graham 2018-06-19 04:24:37 UTC
(In reply to thikedgatefoxe from comment #2)
> (In reply to Nate Graham from comment #1)
> > Sorry, I'm afraid I can't understand the request. Are you saying that
> > https://phabricator.kde.org/D10698 would fix this?
> 
> it's request.
> sorry for strange bug report.
> request is new rename method for dolphin renamer.
> add current directory name.

Looks like that's already included with the patch in two forms, depending on what you mean: "full name" and "base name". So if that patch is merged (I sure hope so!), it will implement this feature request.
Comment 4 Christoph Feck 2018-06-19 11:27:20 UTC
If I understand https://phabricator.kde.org/D10698 correctly, it doesn't allow to replace with the directory name, only with the file name (or parts of it).
Comment 5 Nate Graham 2018-06-19 12:22:12 UTC
(In reply to Christoph Feck from comment #4)
> If I understand https://phabricator.kde.org/D10698 correctly, it doesn't
> allow to replace with the directory name, only with the file name (or parts
> of it).

#bname is the path to the file, minus the actual filename itself (i.e. for the file `/home/Documents/file.txt`, #bname would be `/home/Documents/`). My impression is that this satisfied the OP's desire for "current directory name". thikedgatefoxe, can you confirm?
Comment 6 Christoph Feck 2018-06-19 12:28:17 UTC
basename is the filename without the extension.
Comment 7 Nate Graham 2018-06-19 12:54:13 UTC
Oh shoot, I was thinking of dirname, not basename.
Comment 8 Unknown 2018-06-22 17:37:09 UTC
(In reply to Nate Graham from comment #3)
> Looks like that's already included with the patch in two forms, depending on
> what you mean: "full name" and "base name". So if that patch is merged (I
> sure hope so!), it will implement this feature request.

Thank you.
taught #bname is as comment #4
Is the file name excluding the extension?
we hope to this patch add command.
input command for dirname.
Where can us say it?