FTP: chmod several files by ending (css)

German support forum

Moderators: Hacker, Stefan2, white

Post Reply
HerKle
Junior Member
Junior Member
Posts: 3
Joined: 2013-01-24, 00:39 UTC

FTP: chmod several files by ending (css)

Post by *HerKle »

How can I change the attributes of all css files in a ftp connection?

I found here in this forum the command line SITE chmod <value> <filename> but nothing similar to "chmod <value> <all files with ending css>".

Thanks for any advice.
Regards,
Herbert
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50625
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can select them with Alt+"+", and then use menu Files - Change attributes. On Unix/Linux servers, this will automatically use SITE chmod with all selected files.
Author of Total Commander
https://www.ghisler.com
HerKle
Junior Member
Junior Member
Posts: 3
Joined: 2013-01-24, 00:39 UTC

Alt + "+" doesn't work

Post by *HerKle »

Thanks but this key combination simply does nothing. No reaction. (I use TC version 8.01)
Regards,
Herbert
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

ghisler(Author) talks about all css files at the current directory.

Are you talking about a recursive chmod through all subdirectories?

Well, the common command for this is "chmod -R <value>", but TC can only send a command to the FTP server.
If the FTP server don't know this command, there is no chance.
#5767 Personal license
HerKle
Junior Member
Junior Member
Posts: 3
Joined: 2013-01-24, 00:39 UTC

Post by *HerKle »

Yes, I was looking for a command which searches for all files in all (sub)directories with the ending ".css" and changes their attribute. Your command looks like a command for all files…
Regards,
Herbert
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3893
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Try "chmod -R <value> *.css" ... but as I said: The FTP server must support it.
#5767 Personal license
Post Reply