[Shell]Printing Content to File
I have this command (line):
Code:
tail -52 | find "/path/" -name "*.csv" What am I doing wrong? |
Hi, welcome to LQ!
What exactly are you trying to accomplish? How about something like: Code:
echo > some_new_file :) |
Plus, if all your files are in one single directory, this will work for the same goal as above:
Code:
head -n 5 *.csv >> somefile |
How about
Code:
find "/path/" -name "*.csv" -exec tail -52 '{}' \; |
Thanks guys! I used the one crts gave me, but all of them are great.
|
Please mark as SOLVED if you have a solution.
|
All times are GMT -5. The time now is 11:24 AM. |