Top "File" questions

A block of arbitrary information, or resource for storing information, accessible by the string-based name or path.

How to .gitignore all files/folder in a folder, but not the folder itself?

Possible Duplicate: How do I add an empty directory to a git repository I want to check in a blank …

git file directory gitignore
How to do something to each file in a directory with a batch script

How do you iterate over each file in a directory with a .bat or .cmd file? For simplicity please provide …

windows file loops batch-file cmd
How to copy files across computers using SSH and MAC OS X Terminal

I'm trying to copy my .profile, .rvm and .ssh folders/files to a new computer and keep getting a "not …

macos unix file terminal copying
Python write to CSV line by line

I have data which is being accessed via http request and is sent back by the server in a comma …

python string file csv io
How to compare two files in Notepad++ v6.6.8

I want to compare values from two different files. In Notepad++ version 5.0.3 we had shortcut button Alt+d but in …

file compare notepad++
Importing variables from another file?

How can I import variables from one file to another? example: file1 has the variables x1 and x2 how to …

python file variables import
What is an MDF file?

Is this like an “embedded” database of sorts? A file containing a built in database?

mdf sql-server database file
Confused by python file mode "w+"

From the doc, Modes 'r+', 'w+' and 'a+' open the file for updating (note that 'w+' …

python file io
Deleting all files from a folder using PHP?

For example I had a folder called `Temp' and I wanted to delete or flush all files from this folder …

php file directory glob
Read only the first line of a file?

How would you get only the first line of a file as a string with Python?

python file