tar命令 - 压缩没有文件夹(tar command - compress without folders)
我使用这样的tar命令:
tar -cf backupdb/db/2012/11/database.2012-11-25.tar.gz backupdb/db/2012/11/25/*.sql
但是当我打开tar文件时,我看到一个目录backupdb / db / 2012/11/25:/如何修改命令压缩文件backupdb / db / 2012/11 / 25 / * .sql但没有父目录。
我知道tar命令中的-C切换器,但我不知道如何使用它来指定exptension来压缩文件。
I use a tar command like this:
tar -cf backupdb/db/2012/11/database.2012-11-25.tar.gz backupdb/db/2012/11/25/*.sql
But when I open the tar file I see a directory backupdb/db/2012/11/25 :/ How to modify the command to compress files backupdb/db/2012/11/25/*.sql but without parent directories.
I know the -C switcher in tar command, but I don't know how to use it to compress files with specify exptension.
原文:https://stackoverflow.com/questions/13551095
最满意答案
I think the acknowledged leader in this field is AQtime.
If you have no money then you can try Sampling Profiler.
I'm sure others will be along in due course to offer yet more suggestions!
相关问答
更多-
delphi教程[2022-04-02]
www.2ccc.com www.delphibbs.com Delphi开发人员指南 这些看了先入门。 -
try在delphi的意思[2022-09-17]
Delphi 中有两个try ..except 和 try ..finally try //程序 except //错误处理 end; try //程序 finally //不管出现什么问题,都会执行此处的代码 end; -
Delphi / Pascal中是否有任何静态代码分析工具?(Are there any static code analysis tools for Delphi/Pascal? [closed])[2024-03-07]
帕斯卡分析仪很不错。 Pascal Analyzer is nice. -
你们都用什么软件开发sql数据库?[2023-05-19]
delphi -
我个人使用GExperts的免费项目依赖 项 。 它不显示图表,但是显示为树状图。 这符合我的需求,YMMV。 I personally use the free Project Dependencies from GExperts. It does not display a diagram, but as a tree view. That suits my needs, YMMV.
-
对于价格,你不能击败FastMM4作为内存跟踪器。 它使用简单,功能强大,与Delphi完美集成。 我想你知道,没有下载,安装或改变任何东西,只要放这条线 ReportMemoryLeaksOnShutDown := True; 您代码中的任何地方都将启用内存泄漏的基本报告。 如果您需要更多的崩溃信息,EurekaLog是我们使用的非常好的产品。 MadExcept也有很好的声誉... 对于具体的剖析,我们有AQTime。 对于gpProfile,您可以尝试在...上尝试更改或更新gabr,或者自行更新g ...
-
Delphi的基准测试工具(Benchmark Tools For Delphi)[2023-12-08]
我认为这个领域公认的领导者是AQtime 。 如果你没有钱,那么你可以尝试Sampling Profiler 。 我相信其他人会在适当的时候提供更多的建议! I think the acknowledged leader in this field is AQtime. If you have no money then you can try Sampling Profiler. I'm sure others will be along in due course to offer yet more s ... -
dUnit通常与Delphi XE一起安装,您可以从IDE中启动一个新的测试项目。 例如,通过按Ctrl键启动IDE Insight 。 然后开始编写test project ,你会得到: 按回车键,您将会看到一位专家使用DUnit配置您的测试项目。 dUnit is usually installed with Delphi XE, and you can start a new test project from within the IDE. For example, launch IDE Insig ...
-
Delphi源代码转换工具中是否有Delphi DFM?(Are there any Delphi DFM to Delphi source code convertion tools?)[2024-01-31]
您可以使用GExperts的ComponentsToCode功能 You can use the ComponentsToCode function from GExperts -
根据系统中FastMM_FullDebugMode.dll的存在,可以启用或禁用FastMM4中的许多功能。 这样,您只能有一个构建,通过将FastMM_FullDebugMode.dll复制到程序文件夹来启用泄漏检测。 使用ShareMem单元和不同版本的BorlndMM.dll可以实现类似的功能。 在这种情况下,您可以使用您想要的任何选项将FastMM4编译为BorlndMM.dll。 Lots of functionality in FastMM4 can be enabled or disabled ...