Your question is not very clear to me. First you say "paste them into line 20" and then you say each one should be its own file. I do not know what would be in lines 1-19.
If what you mean is that you want to take ~/Desktop/RWWEB/page10\ Kaf/index.html and make each line into its own document, yes, you can do that very easily. I created a shell script which can do this. You can find it at https://gist.github.com/tjluoma/7892036 The two most important lines to change are these: FILE="$HOME/Desktop/RWWEB/page10 Kaf/index.html" STARTER_FILE="$HOME/Desktop/RWWEB-Header-File.html" FILE should be the path to the file that has all of the lines that you want to put into separate files _IF_ there is a standard file which should be used to start each file (i.e. lines 1-19) then it must exist at STARTER_FILE TO USE: * Download the gist and place it somewhere easy to find like your Desktop * Rename it to something like "eachlinetofile.sh" * Open Terminal.app and change to the directory where you saved the file: cd ~/Desktop/ (obviously change ~/Desktop to wherever you saved the file) * Make "eachlinetofile.sh" executable by issuing this command: chmod 755 eachlinetofile.sh * Execute the file in Terminal: ./eachlinetofile.sh I hope that helps, but be sure that you understand what it is doing before you run it. No guarantee expressed or implied. U se entirely at your own risk. TjL ps - I realize that the answer itself isn't specifically BBEdit-related, but I wrote this script in BBEdit, so I figure that counts :-) On Tue, Dec 10, 2013 at 12:49 AM, James Ada <[email protected]> wrote: > Hi guys heres the question. > I have a html file where I have thousands of lines of data (screen on the > right) and I need to paste them into line 20, each time saving them as there > own file. > Is there a quick way of doing this??? > > -- > This is the BBEdit Talk public discussion group. If you have a > feature request or would like to report a problem, please email > "[email protected]" rather than posting to the group. > Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> > > --- > You received this message because you are subscribed to the Google Groups > "BBEdit Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
