Search Results

Search: Posts Made By: NYankz
9,837
Posted By NYankz
ls -1R|grep :$|sed 's/:$//g'| awk '{print...
ls -1R|grep :$|sed 's/:$//g'| awk '{print $1"/*"}'|xargs cat > bigfile


ls -1R #recursively searches all files in all subdirectories

grep :$ #will show all lines which end in :, this is a list...
9,837
Posted By NYankz
ya i keep forgeting you don't get output from awk...
ya i keep forgeting you don't get output from awk '{system("cat"w/e)}' i edited my post
9,837
Posted By NYankz
hmm... lemme give it a shot: you can combine...
hmm... lemme give it a shot:
you can combine the files like this

ls -1R|grep :$|sed 's/:$//g'| awk '{print $1"/*"}'|xargs cat > bigfile

edit:
changed output method

as for removing, i'd...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 10:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy