Topic "custom command : tar for folders?"

Author Message

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?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26889
Location: Prague, Czechia
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.
Martin Prikryl

Thank you and congrats for your app! Helps me stay away from the expensive SecureFX.

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License