小编use*_*005的帖子

需要在不回答提示的情况下复制带有子文件夹的文件夹

我需要将文件夹 A 复制到文件夹 B,文件夹 A 有子文件夹。我试过 xcopy 和 copy 都卡住了。

C:\Users>xcopy  sushantg\A\* sushantg\B /s /e /h /T
Does sushantg\B specify a file name
or directory name on the target
(F = file, D = directory)?
Does sushantg\B specify a file name
or directory name on the target
(F = file, D = directory)?
Run Code Online (Sandbox Code Playgroud)

windows batch

6
推荐指数
1
解决办法
2万
查看次数

在命令行上,'find' 报告一个非法的时间值

我想运行以下命令。

找 。-mtime -60s

当我这样做时,我会得到这个输出:

CLIENT% echo `date +%s`-1308741881 | bc
5152
CLIENT% find . -mtime -`echo `date +%s`-1308741881 | bc`s
-1308741881: Command not found.
find: -mtime: -date: illegal time value
CLIENT%
Run Code Online (Sandbox Code Playgroud)

这里发生了什么?

linux date find csh

1
推荐指数
1
解决办法
457
查看次数

标签 统计

batch ×1

csh ×1

date ×1

find ×1

linux ×1

windows ×1