GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   HELP - LIST IMPORTER - anyone?? HELP (https://gfy.com/showthread.php?t=584098)

retronerd 03-07-2006 08:32 PM

HELP - LIST IMPORTER - anyone?? HELP
 
i have a list of files.... all text files... i need to import the list of file names into an excel or text document.. for example.. my files are called house1.txt house4.txt tax4.txt etc... i need to import hundreds of these FILE NAMES into an excel document like this

house1
house4
tax4

etc

anyone know how to do this?

Ace_luffy 03-08-2006 12:21 AM

bump for the cause.....

Linguist 03-08-2006 12:27 AM

In linux/unix (or use cygwin if you're in windows), put them all into one directory and then:

ls -1 > file.txt

if you want to open it in Excel:

ls -1 > file.csv

Linguist 03-08-2006 12:31 AM

I misread the question, if you don't want to have .txt displayed at the end, do this:

ls -1 | cut -d . -f 1 > output.txt

Make sure none of the files have "." as a part of their file name.


All times are GMT -7. The time now is 06:07 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123