Use the -exec option of the find command to copy all .pdf files from the /tmp/test directory to /tmp/docs.
Find and exec
Copy files
Report a typo
Sample Input 1:
test_file.txt 10
notes.txt 10
students_book.pdf 10
novel.pdf 10
data_table.csv 10Sample Output 1:
novel.pdf
students_book.pdfWrite a program in Shell
#!/usr/bin/env bash
solve() {
# add your solution here
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.