OS: RockyLinux 8.5
This command works wonderfully:
sqlite3 files.db "select file from A;" | rsync -R -av --files-from=/dev/stdin /SOURCE /DESTINATION/Out
result without pipe:
sqlite3 files.db "select file from A;"
file1.txt
file2.txt
file3.txt
I'm trying to use the same method but pipe to a find command.
sqlite3 files.db "select file from A;" | find -type f -name /dev/sdin
It does not return any values.
Asked by Gary Schermer
(1 rep)
Nov 15, 2023, 03:01 AM
Last activity: Nov 16, 2023, 12:01 AM
Last activity: Nov 16, 2023, 12:01 AM