custom command : tar for folders?

Advertisement

Guest

custom command : tar for folders?

The new custom command menu is great!

But I have a problem =)

I wrote this to quickly compresse files and folders.
tar -zcf "!".tgz "!"

It does not work for folders. I right clicked on a folder to apply this compress command and winscp tried to compress every file inside the folder, not the folder itself..

Unsupported feature or did I do something wrong?

Olivier

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: custom command : tar for folders?

Well, I understand. Problem is that sometimes you need a custom command to traverse thru subdirectories, sometimes to apply to folders. I'll try to find some solution.

Reply with quote

Advertisement

You can post new topics in this forum