Questions tagged [files]

Organized data encoded in a pre-defined format and stored on a filesystem.

In the computational sense, one-dimensional array of bytes stored in a filesystem, typically encoded a pre-defined format, often indicated by a file-extension or "magic number". More "durable" than in-memory storage.

677 questions
3
votes
1 answer

How do I find files with "#" in their names, on Windows Server 2008?

I'm trying to locate all the files on my server which use a # as part of their name, and can't seem to get the servers' file search feature to restrict its result to only # files. How do I go about doing this?
blueberryfields
  • 757
  • 1
  • 7
  • 17
3
votes
1 answer

How to let the users can edit in a shared folder but not let them to delete files inside

I'm an IT technician in a school. We're using DC and File server so the teachers uses a domain user by their own name. There are folders from the File server that are shared to the teachers to use, and the question is how to make the teachers…
Eddy
  • 31
  • 1
  • 2
3
votes
3 answers

Network throttling for large file upload process

My application need to have a file upload component which will be uploading very large(>1gb) files. I'm yet to decide on the protocol (HTTP or FTP) to go for (Any help in this regard will be highly appreciated). Now, when one user is using this…
kaychaks
  • 167
  • 1
  • 1
  • 9
3
votes
3 answers

Script to delete temp files for all users in XP, Vista, and 7

Basically, we have numerous customers running XP and 7 with a few Vista machines. I've found this batch script, but it is limited to the current user (uses the %userprofile% environment variable). I'm looking for something like this, but which would…
Chris
  • 39
  • 1
  • 1
  • 3
3
votes
2 answers

Determine which files a process opened (Linux)

I am trying to determine which files a process creates when it runs. I know that I can list the file handles of a currently running process by looking in /proc or using lsof. However, the problem is that the program finishes in less than a second.…
del
  • 133
  • 3
3
votes
7 answers

Why am I getting 'File in use by Another User' and 'Application Sharing Violation' errors when trying to open & and save files?

We're getting this a lot lately. Windows 2008 Server Windows 7 & Vista Client PC's Microsoft Office 2007 When a user tries opening a file on our network drive (word doc, excel spreadsheet, etc) the software reports the file is locked by 'another…
GollyJer
  • 685
  • 3
  • 11
  • 22
3
votes
4 answers

how copy file to windows server from linux

I have a file on CentOS machine that needs to be copied to Windows NT server. I use \10.10.10.10 to connect to the server from my windows desktop. I can copy the files using the GUI, but I want to write a shell script on my centOS server that will…
shantanuo
  • 3,579
  • 8
  • 49
  • 66
3
votes
1 answer

httpd.conf match absolute file

I have the following directory statement in my httpd.conf for a virtualhost. # something file specific This matches "c:/foo/bar/ * / * /baz/index.php" but also…
3
votes
4 answers

File and Folder Organization for IT Staff

We are working on a project that will require the creation of new file servers and a migration of countless years of legacy data. Part of that legacy data is this random collection of IT staff files and folders that were used at one time (perhaps…
John
  • 2,276
  • 7
  • 44
  • 60
3
votes
1 answer

Reliable file copy (move) process - mostly Unix/Linux

Short story : We have a need for a rock-solid reliable file mover process. We have source directories that are often being written to that we need to move files from. The files come in pairs - a big binary, and a small XML index. We get a CTL file…
mfinni
  • 36,144
  • 4
  • 53
  • 86
3
votes
7 answers

Removing DS_Store files and variants?

I am running an Ubuntu 10.04.1 LTS server. Frequently I open up files using AFP from my Mac. Inevitably this created .DS_Store files on the server (although for some reason they are named :2eDS_Store. However, it also creates variants on DS_Store…
Ron Gejman
  • 309
  • 1
  • 4
  • 11
3
votes
7 answers

Fast way to recursively count files in linux

I'm using the following to count the number of files in a directory, and its subdirectories: find . -type f | wc -l But I have half a million files in there, and the count takes a long time. Is there a faster way to get a count of the number of…
aidan
  • 615
  • 4
  • 10
  • 23
3
votes
4 answers

Wipe out /tmp every week?

a few weeks ago, we setup a cronjob that wipes the entire contents of /tmp every Sunday at 5am. I wasn't really convinced that this is a good idea. Today we discovered that a certain task depended on an existing directory inside /tmp - the task was…
zedoo
  • 155
  • 1
  • 7
3
votes
3 answers

Recursively archive small files in document tree on linux?

Given a base directory (like /home/user) is there a command that could be run which would create an archive back up all text files (i.e. files less than 100kb) in that directory and it's children? I know you can tar/gz a directory - but what about…
Xeoncross
  • 4,449
  • 12
  • 43
  • 56
3
votes
1 answer

Files on a Windows 2003 share filed server are not releasing locks?

What could be causing a windows 2003 file server to no longer release file locks? The locks are being created and not released by Legacy vendor code (C++ I assume) Legacy code, VB Newer C# code All with separate logging code (all locks are…
C. Ross
  • 3,075
  • 9
  • 35
  • 36