First, let me admit that this is an XY problem. I'm trying to find some files in my snapshots that were deleted at some point. I don't recall when they were added nor know when they were deleted so I'm trying to search through all of the snapshots.
Inside the .zfs/snapshot directory, I can run a find command and it starts outputting results to the terminal. However, it's too much data for me to sort through so I'm trying to log it to a file. I'd also like to be able to background the task so I don't need to stay logged in as it's going to take a long time to go through all of the files in the snapshots.
When I add > or | tee to the find command nothing gets output to the terminal or the file. I've tried adding 2>&1 but that doesn't help either. If I just run echo blah > file.txt then that works.
Redirecting the find output to a file works on my linux box so I'm not sure why it won't work in Core. Any ideas what I'm missing?
Thanks.
Inside the .zfs/snapshot directory, I can run a find command and it starts outputting results to the terminal. However, it's too much data for me to sort through so I'm trying to log it to a file. I'd also like to be able to background the task so I don't need to stay logged in as it's going to take a long time to go through all of the files in the snapshots.
When I add > or | tee to the find command nothing gets output to the terminal or the file. I've tried adding 2>&1 but that doesn't help either. If I just run echo blah > file.txt then that works.
Redirecting the find output to a file works on my linux box so I'm not sure why it won't work in Core. Any ideas what I'm missing?
Thanks.