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
3 answers

How to use find to replace several files of the same name

I have several files of the same name (say, somefile.php) scattered within several directories under /var/ If I want to replace all of them with a new version of somefile.php located in, say, /home/me/somefile.php ... how would I do that? Every…
Callmeed
  • 2,725
  • 4
  • 20
  • 15
3
votes
3 answers

Testing for disk write

I'm writing an application for storing lots of images (size <5MB) on an ext3 filesystem, this is what I have for now. After some searching here on serverfault I have decided for a structure of directories like…
3
votes
4 answers

How to prevent Linux from deleting temporary files on shutdown

I am using Ubutu 10.04. I have some apps that create a few temporary files in /tmp/ as part of their shutdown process. I want to inspect those files when the apps are closed in the event of a system shutdown. However, when the system comes up…
341008
  • 137
  • 1
  • 4
3
votes
4 answers

Moving live files on a unix like system

On a recent job posting for a general Unix admin at a datacenter, a listed requirement was to move live files in a data center setting. What does this mean and how can one move live files?
Recursion
  • 619
  • 2
  • 7
  • 19
3
votes
2 answers

VMWare Server - Writing files to virtual hard drive performance

We have just moved our infrastructure from physical servers to virtual machines. Everything is running great and we are happy with the result of the move. We have identified one problem, and that is reading/writing performance. We have an…
Neil Knight
  • 207
  • 3
  • 10
3
votes
4 answers

move/copy file using an ftp server

Is it possible (and how) to copy a file on a remote machine to a different place on the same remote machine using FTP?
3
votes
2 answers

Linux - A more fine grained -mtime for find?

find is a great tool for finding files. It has the option to find files that were modified in the last X days with -mtime. However I'd like something more fine grained than that. I want to be able to find files that were modified in the last 2…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
3
votes
1 answer

How to output all files/folders ordered by size, including hidden ones

How can I output all files/directories, ordered by size, including hidden ones (those whose name starts with a dot), all in one go? 1 The difference to How can I sort du -h output by size is that I'm requesting an output that includes all files and…
Henke
  • 255
  • 3
  • 13
3
votes
6 answers

Any Recommendations for a Web Based Large File Transfer System?

I'm looking for a server software product that: Allows my users to share large files with: The general public securely to 1 or more people (notification via email, optionally with a token that gives them x period of time to download) Allows…
Glen Richards
  • 41
  • 1
  • 7
3
votes
1 answer

File (FRM) not found? Cant view the tables?

I have 2 version of database backup. Mysqldump > db_backup.sql & FRM files (tables files) The db_backup.sql file is corrupted; it is 0 KB. I think I can't help with it anymore. Now I only have the FRM files. After I copy all the FRM files to my…
deadman
3
votes
3 answers

Slow File Copy observed copying 40GB files across network to iSCSI device

Here's a curious ones for the gurus: Setup: Source Machine: Windows Server 2003 R2 machine with local hard drive. VHD file of 40GB. 1 x 1Gbps network card, Cat6 cable, switch. Target Machine: Windows Server 2008 R2 machine with iSCSI connection…
Rick
  • 255
  • 3
  • 8
3
votes
1 answer

Why is AWS S3 Object count is measured iin units used to measure file size?

In AWS, the files/objects are stored in S3 bucket and the files/object count should list the total no of files/objects stored in S3 bucket as an INTEGER value. But I see the S3 object count as floating value and the unit represented is letter 'G'…
intechops6
  • 155
  • 6
2
votes
1 answer

How can I store the output of a Linux command in a Puppet file?

I want to create a new file on a specific Puppet agent and store the output of a Linux command to the file. Is there an easy way to do this with the content attribute? The command I want to run is file { '/home/akrall/out_string': ensure =>…
AndreasKralj
  • 331
  • 1
  • 6
  • 16
2
votes
1 answer

IIS copying DLL and PDB files in Temp directory

This is driving me nuts... I have nailed it down to the following, but I don't know why it's happening or how to stop it. IIS worker process which is handling a web service is creating multiple copies of the same DLL, and a PDB, and an empty .tmp…
Jasmine
  • 145
  • 1
  • 6
2
votes
0 answers

Virtualbox shared folder file permission

On windows host I run a debian server on virtualbox and I share a folder which is working mount -t vboxsf -o rw,,dmode=777,uid=33,gid=33 share /var/www/share I already done sudo usermod -aG vboxsf $(whoami) now inside /var/www/share I have a…
fefe
  • 357
  • 1
  • 8
  • 18