Refracta Development, Scripts, etc.
Post a reply
stavreli

- stavreli
- Posts: 10
- Joined: Sat Mar 04, 2017 1:02 pm

## remove spaces in file names

Sun Apr 09, 2017 6:09 pm

Hi,
Can you share the script that you use in the file manager to remove spaces in file names?
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: remove spaces in file names

Sun Apr 09, 2017 11:21 pm

It's not a script; it's a thunar custom action. In Thunar, go to Edit -> Configure custom actions -> Remove Spaces, and then click on the edit icon if you want to change it. The command is

Code:
  `rename 's/ /_/g' %N`

That's a trimmed-down version of a custom action I found in a thread at forums.debian.net called "Post your thunar custom actions here" or something like that. The original also removed special characters. LOTS of good ideas in that thread.
stavreli

- stavreli
- Posts: 10
- Joined: Sat Mar 04, 2017 1:02 pm

## Re: remove spaces in file names

Tue Apr 18, 2017 8:22 am

thank you

> fsmithred wrote:It's not a script; it's a thunar custom action. In Thunar, go to Edit -> Configure custom actions -> Remove Spaces, and then click on the edit icon if you want to change it. The command is
> Code:
>   `rename 's/ /_/g' %N`
> That's a trimmed-down version of a custom action I found in a thread at forums.debian.net called "Post your thunar custom actions here" or something like that. The original also removed special characters. LOTS of good ideas in that thread.

Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.