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

OSX connecting to Windows Server 2012 R2 (SMB) for file sharing unable to search

When users on OSX 10.10 connect to a remote server (SRV02) fileshare via SMB, they are unable to search the file share... when they do, it just hangs (pinwheel of death). There are several users on OSX that need to be able to search files on the…
Rob W
  • 31
  • 1
  • 1
  • 6
3
votes
2 answers

Using Puppet to sync two directories

I have a bunch of servers that have two directories on them that need to be in sync. For instance, on the same server I might have /var/path/to/dir1 and /var/path/to/dir2 which could have files and folders underneath of each. I'd like to sync…
Jeff Coe
  • 187
  • 2
  • 6
3
votes
2 answers

Use temporary filename during upload in PureFTP

Is it possible to configue Pure-fptd to use a temporary filename during upload? At the moment files that are uploaded are given their final name from the very start of the upload. I would like it to have temporary name until the file is completely…
John P
  • 195
  • 2
  • 9
3
votes
2 answers

How to upload configuration files using the shell provider?

Apart from installing applications like emacs on my guest machine, I would also like to upload some configuration files (e.g. to configure emacs for Clojure development). Sadly, Vagrant's documentation gives no clue about how to do this. I guess I'd…
Trollhorn
  • 203
  • 3
  • 10
3
votes
1 answer

How to find file which have not specific content?

I have a lot of files which already have SPF records defined grep -i v=spf *.db /var/named/domain.com.db domain.com. 14400 IN TXT "v=spf1 +a +mx +ip4:XXX.XXX.XXX.XXX ?all" And want to find all files without SPF records. Some hints?
3
votes
2 answers

Apache places uploaded files in /tmp. Can I change that to another directory?

Is there a configuration that changes the directory where apache web server temporarily places uploaded files? I have access to httpd/conf.d I'm on a machine where /tmp is very size constrained and have a requirement to allow file uploads that are…
GSP
  • 133
  • 1
  • 1
  • 6
3
votes
1 answer

Linux bidirectional file sync over a WAN with immediate/incremental syncing

Does anyone know of a solution that lets you sync files bidirectionally over a WAN, but also syncs immediately/incrementally? Basically Unison is perfect for the file syncing, but it doesn't sync incrementally - it will wait for a file to finish…
AndyC
  • 233
  • 4
  • 14
3
votes
1 answer

File copy between two ftp servers from a (third) local machine

I have two ftp servers A and B. I need to copy a certain directory tree (and all files under it) from server A to server B. Is there a way to achieve this from my local machine (c) without having to run anything on server A and B? EDIT All the three…
NGambit
  • 153
  • 2
  • 5
3
votes
2 answers

sftp file size limit

There seem to be a file size limit for sftp transfer from the command line, if I try to download a 20 MB file it stops at 20% when the transfered data is larger than 4 MB: /myfile.xml 22% 4480KB 410.4KB/s 00:38 ETA …
0x4a6f4672
  • 246
  • 1
  • 2
  • 8
3
votes
1 answer

Force Close a file not a process

I want to write a script that forces closed a specific file and then copies it from one server to another. To manually do this I would use Administrative Tools --> Computer Management --> Shared Folders --> Open Files Is there a way to script this?
Simon Foster
  • 2,622
  • 6
  • 38
  • 55
3
votes
4 answers

Find files/folders that are filling up disk space

Possible Duplicate: How can I determine what is taking up so much space? I just had an old server go belly up because it ran out of drive space. I am logged in to the shell, and I'm trying to find more unused files to remove. Is there shell a…
MrGlass
  • 131
  • 1
  • 1
  • 4
3
votes
2 answers

Robocopy's copy criteria when MINAGE and MAXAGE is specified

What attribute does Robocopy look at when applying the MINAGE and MAXAGE flags? Date created or updated? If a group of files is created and later one of them is updated, if I run Robocopy with a later date range will the updated file be copied?
QueueHammer
  • 183
  • 2
  • 2
  • 9
3
votes
2 answers

What are these zero-length files created by Apache in the tmp directory?

Any ideas on why apache (httpd) creates these files in /tmp? I'm on Redhat 5.5 and Apache 2.2, mpm-prefork. -rw-------. 1 apache apache 0 Aug 14 12:46 filec1puD5 -rw-------. 1 apache apache 0 Aug 14 12:46 fileKJqaih -rw-------. 1…
KM.
  • 1,786
  • 2
  • 18
  • 31
3
votes
5 answers

rsync of >4GB files

silly one, do you have any problems with rsync'ing large [ >4GB ] files under modern linux? [ 32bit, 64bit, large file support turned on ]? i've done some tests on my own between 2 64bit boxes and didn't have any problems transferring 6-10GB files.…
pQd
  • 29,981
  • 6
  • 66
  • 109
3
votes
3 answers

Copying files to a different domain, where no trust relationship exists

I have the the following setup. 1 x host machine situated in DOMAIN A 1 x PDC in a VM running on a host only network adapter running its own AD Forest (DOMAIN B) 1 x Server running in DOMAIN B, this is also on a host only network adapter but has a…
krystan honour
  • 153
  • 1
  • 1
  • 7