小编Joh*_*ton的帖子

深色主题的 LibreOffice 图标很难看到

我最近为 Ubuntu (16.04) 安装了一个深色主题,它很棒,但唯一的问题是我在 LibreOffice 中看不到图标。我已经尝试过 LibreOffice 中的默认图标主题,但它们都是一样的。这是它的样子:

在此处输入图片说明

themes icons libreoffice icon-themes 16.04

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

执行 find 命令后如何在 for 循环中使用 exec 命令?

我一直试图让这个工作一段时间。我想搜索文件列表,然后将它们全部复制到某个路径。

如果我单独运行该命令,则它的工作方式如下:

find <path> -name 'file1' -exec cp '{}' <path2> \;
Run Code Online (Sandbox Code Playgroud)

但是我一直无法在 for 循环中运行它。

#this works
for f in file1 file2 file3...; do find <path> -name "$f" \; done;
#none of these work (this code tries to find and copy the files named file and list from the path)
for f in file1 file2 file3...; do find <path> -name "$f" -exec cp '{}' <path2> \; done;
for f in file1 file2 file3...; do find <path> -name "$f" -exec cp {} …
Run Code Online (Sandbox Code Playgroud)

command-line bash find

4
推荐指数
2
解决办法
4290
查看次数

标签 统计

16.04 ×1

bash ×1

command-line ×1

find ×1

icon-themes ×1

icons ×1

libreoffice ×1

themes ×1