Jump to content
UBot Underground

Recommended Posts

So I'm using the append to file function (always using: to end), and on the first run it saves all the urls ok. But after that, instead of appending the urls at the end (on a new line), it just adds it to the last url.

 

Example:

http://www.ebay.co.uk/itm/PERSONALISED-CUTE-SLEEPING-PIGS-FUNNY-PHOTO-BIRTHDAY-OTHER-CARD-/371658720542?hash=item568896051e:g:ppoAAOSwv0tVNAnDhttp://www.ebay.co.uk/itm/PERSONALISED-CUTE-SLEEPING-PIGS-FUNNY-PHOTO-BIRTHDAY-OTHER-CARD-/371658720542?hash=item568896051e:g:ppoAAOSwv0tVNAnD
http://www.ebay.co.uk/itm/PEPPA-PIG-MDF-SLING-BOOKCASE-NEW-BEDROOM-FURNITURE-OFFICIAL-/371153019547?hash=item566a71a29b:g:zG4AAOSwBLlVetpd
http://www.ebay.co.uk/itm/Pig-Out-Snack-Bowl-/272164565955?hash=item3f5e45b3c3:g:N5MAAOSwvgdW4dk2

How do I get it to save on the next new line?

 

Thanks.

Link to post
Share on other sites

Also, is there a way to delete duplicates in the file without copying the file content into add list to list, and relying on the delete duplicate option? I would've thought there was a straight forward command for this procedure?

Link to post
Share on other sites

Notepad++ can do this, provided you wanted to sort by line, and remove the duplicate lines at the same time.


 


You will need the TextFX plugin. This used to be included in older versions of Notepad++, but if you have a newer version, you can add it from the menu by going to Plugins -> Plugin Manager -> Show Plugin Manager -> Available tab -> TextFX -> Install.


 


In some cases it may also be called TextFX Characters, but this is the same thing


 


The check boxes and buttons required will now appear in the menu under: TextFX -> TextFX Tools.


 


Make sure "sort outputs only unique..." is checked.


 


Next, select a block of text (Ctrl+A to select the entire document).


 


Finally, click "sort lines case sensitive" or "sort lines case insensitive"


 


http://i.stack.imgur.com/1qnvS.png


 


 


Job Done :)


Link to post
Share on other sites

Thanks Abbas for the tip re NP++.

 

What I was trying to get across, was how can I get rid of duplicates in a file via UB? What I'm currently doing is: add list to list, and using list from file (here I set delete duplicates) > and then save all the data back to the original file (this also overwrites the original data).

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...