Computer scienceSystem administration and DevOpsCommand lineWorking with files

Find and exec

Move files

Report a typo

Use the -exec option of the find command to move all .png files from the /tmp/test directory to /tmp/pics.

Sample Input 1:

file.txt 10
foto.png 10
book.pdf 10
data.csv 10
foto_anna.png 10

Sample Output 1:

foto_anna.png
foto.png
Write a program in Shell
#!/usr/bin/env bash

solve() {
# add your solution here

}
___

Create a free account to access the full topic