Questions tagged [files]

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

Filter by
Sorted by
Tagged with
-1 votes
2 answers
124 views

too many open files only when server starts

I have a Java web application set up to start within a script in /etc/init.d/application The application fails with a "too many open files" error but if I execute the same script from my user it won't ...
user180510's user avatar
3 votes
1 answer
1k views

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 ...
AndyC's user avatar
  • 233
1 vote
2 answers
299 views

how can i get list of created and deleted files on the server?

i have a image sharing website , users log and upload image last night i've lost about 30 newly-consecutive uploaded images ... i mean they have been uploaded ... apparently ... they are in the ...
max's user avatar
  • 187
0 votes
0 answers
125 views

Tips on Copying 3 Database files nearing 250 GB?

We are upgrading from SQL Workgroup 2005 to SQL Standard 2012. We have plenty of databases of smaller sizes that copied over with straight windows file copy in a reasonable time frame. We have one ...
Eric's user avatar
  • 11
0 votes
3 answers
113 views

/tmp flooded with ".myapp" files

On my new server (dedicated, CentOs5), 2 or 3 .myapp files (like "51b9dc4cc246f.myapp", ~500 Mo) is created every minute under /tmp, fulling my harddisk at an alarming speed. There is nothing in ...
Nicolas Reynolds's user avatar
-1 votes
1 answer
526 views

Skype virus/malware on client has hidden folders on server share [duplicate]

So my clients got hit with the skype malware/virus going around this week. I cleaned everyone up but one client was so bad that their machine actually changed the attributes for my shares on my file ...
ItsPronounced's user avatar
1 vote
1 answer
2k views

Automatically retrieve a specific file via SFTP

How do I determine which file is the newest from a remote server that I am connected to via SFTP? My goal is to retrieve a specific file each day, via SFTP. The steps I will follow are: Connect to ...
Lothar_Grimpsenbacher's user avatar
16 votes
3 answers
51k views

Is there a hard limit to the number of files a directory can have? [duplicate]

Wondering if there is a limit to the number of files that can be stored inside a directory, in CentOS 6. There is one particular directory which could potentially have millions of subdirectories. ...
Juan Carlos Coto's user avatar
2 votes
3 answers
9k views

PowerShell filter files by date in name

I have many files with different names per day. How can I filter them by the date in their name? For example: app_20130505.log app_20130506.log app_20130507.log app_20130508.log app_20130509.log ...
gazsiazasz's user avatar
44 votes
6 answers
220k views

Move files to another directory which are older than a date

I am looking for a solution to move files that are year older from today. My log partition is getting full, but I can not remove them. They are needed for a long long time. Anyway one solution I came ...
cr0c's user avatar
  • 988
0 votes
2 answers
363 views

Daemon to create hardlinks on Linux file server which finds identical files

I have a Linux server where I only store new files or rename directories and never edit files. It contains backups from other Linux servers. Due to certain circumstances there are quite some ...
Christian's user avatar
  • 1,052
-1 votes
1 answer
153 views

Duplicate php files on cpanel shared hosting account? [closed]

2 php files with the same name in the same folder on my cpanel shared hosting account. How is this possible? What I remember is that when I uploaded a newer version of the file it did not ask me if ...
user481913's user avatar
0 votes
1 answer
1k views

Generate a .p7b file from .bin and .der file

I'm using Debian and I'm trying to join on a file with a certificate. I try to file.bin + cert.der => file.p7b. To do so, I've tried with openssl command: openssl pkcs7 -in cert.der -in file.bin -...
cgasp's user avatar
  • 171
3 votes
1 answer
8k views

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 ...
NGambit's user avatar
  • 153
1 vote
3 answers
3k views

File copy between two servers programatically

Here's what I'm trying to do: I need to automate process of copying files from server A to server B. I ideally would like to have a script that is invoked by a cron job periodically on server B. The ...
NGambit's user avatar
  • 153
0 votes
3 answers
88 views

watch file to see whos accessing/writing it and log it

I am facing some malware problems on my webserver. I updated third party software such as Wordpress to the latest version, disabled root logins and my users password complex enough but still someone ...
NovumCoder's user avatar
-4 votes
1 answer
323 views

How do I run a downloaded file in Ubuntu [closed]

My server was running plesk 11, but I removed some of the plesk packages by mistake when i tried to install postfix as i wanted to fix problems that i was having with emails. So now I am attempting ...
Jamie Hutber's user avatar
0 votes
1 answer
163 views

Hard link files within directory to reduce space usage, by "version"

I have an Ubuntu 12.04 server. Server is running rsyncd (rsync daemon), and allows an external process to rsync in files to a given path, with full control of the file structure within that given path....
Jon L.'s user avatar
  • 318
2 votes
2 answers
347 views

How to "quickly" create 300M files and 16M directories?

I have a 3-level directory structure defined by 2 hex digits as such: 0A/FF/2B/someimagefile.gif I have 300M small files in 1.5TB of compressed files that will populate these directories (we will ...
davidparks21's user avatar
16 votes
4 answers
3k views

Concatenating files to a virtual file on Linux

On a Linux system, is there any way to concatenate a series of files into one exposed file for reading and writing while not actually taking up another N bytes of disk space? I was hoping for ...
Ryan's user avatar
  • 273
0 votes
2 answers
2k views

Fail to create temp files in Oracle 10g

My disk is full so I delete oracle temp files to gain space. I use oragle 10g with CentOS release 4.4 Operation System. First Search temp files SELECT tablespace_name, file_name, bytes FROM ...
Ibram's user avatar
  • 3
1 vote
2 answers
3k views

Putting a shortcut on the desktop of all the people in a particular OU?

At work we have all the user desktops redirected to a server. Within a all the users in an OU I need to put the same shortcut on all of their desktops. Is there an easier way to do this than just ...
leeand00's user avatar
  • 4,919
2 votes
1 answer
2k views

Issue with temp files created in c:\users\temp.DOMAIN.00x

I am trying to enable users to connect to Excel files on a share on the server. The users have access to that share. Using Procmon, I detected that OleDB creates a temporary file in this location: ...
grizzljt's user avatar
0 votes
1 answer
491 views

How can I find out which process is using a file on a remote samba share?

We have a large number of processes that are business specific that have been piling up over the years on a particular server. The developers of these processes have not left much documentation and ...
Gombly's user avatar
  • 3
3 votes
2 answers
15k views

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 ...
0x4a6f4672's user avatar
-1 votes
1 answer
1k views

Why can't my apache open stream? [closed]

I'm trying to copy and unlink files on my apache server. I'm trying to doing this about 1 hour ago. I can't imagine what's the problem. This is my source: if (copy("users_ftp/".$user_ftp.'/'.$...
user1709024's user avatar
2 votes
1 answer
201 views

Which files are deleted by Disk Cleanup's Temporary Files handler

Windows Disk Cleanup offers a Temporary Files handler which seems to delete some files from C:\Users\USERNAME\AppData\Local\Temp, but not all. People around the place have indicated that it won't ...
Oliver Bock's user avatar
46 votes
2 answers
65k views

How to delete .fuse_hidden* files?

I have small Linux server (Debian Squeeze) which runs a Samba server which is configured to share some folders with some windows machines. While trying to delete one of the directories from windows I ...
Lando's user avatar
  • 615
1 vote
2 answers
9k views

Upload file to nginx server through php/html form

I think this is very popular question, however I can't find information I interested in, hope you help me. I new to server administration things, so don't throw stones at me:) I install nginx to my ...
Dima Deplov's user avatar
1 vote
1 answer
9k views

How to read a keyword from a txt file in zabbix

I want to know is there are any solution for my to read the word "Error" from a txt file on solaris and Alert me where the Error is found. I tried to create a item of type zabbix agent active but it ...
user2038607's user avatar
2 votes
4 answers
22k views

Copy files from one server to another with same permissions

Im migrating to new server and i need to move few websites but i need to have same read/write permissions to new serves as they were on old server. I don't need to keep group and owner id's same but ...
lonerunner's user avatar
1 vote
1 answer
115 views

Multiple VirtualHosts files for subdomains in apache2

I'm new with apache2 and virtualHosts and all these things, I'm trying to set multiple subdomains, each in one file. For example, I'll have quentin-dommerc.com file in site-available : <...
Kentino's user avatar
  • 125
2 votes
4 answers
3k views

/tmp was 1.8Gb; removing files older than 8 days has deleted only ~300mb.. what's using so much space?

I'm running a webserver on CentOS. Today I couldn't run any SQL queries. Upon investigation, error 28, my /tmp directory couldn't be written to. I ran du /tmp and it was 1.8Gb. I then ran find /tmp -...
turbonerd's user avatar
0 votes
1 answer
85 views

SBS 2008 Redirection visibility issues - want to move off SBS 2008

I inherited an SBS2008 server which had a corrupt or otherwise lost userid which was used to setup redirects, etc. I was able to break in by enabling the Administrator ID and resetting the password. ...
Geoff's user avatar
  • 1
0 votes
1 answer
114 views

rsync synchronizing files only without creating folders on destination

Is it possible with rsync to not create directories on destination? MY SOURCE: a/ a/x.txt b/ b/y.txt b/c/g.txt MY WANTED DESTINATION: d/x.txt d/y.txt d/g.txt Is there any way to do this with ...
InsaneAR's user avatar
0 votes
1 answer
340 views

make backup of file when user run rm -f [closed]

Here is the scenario; I need to authorize a user to do activity in /opt/dev-folder/. Developer makes frequent changes in file, some time they replaced or remove original file. I have assigned ...
Email geek's user avatar
1 vote
0 answers
489 views

IE: Cannot disable Settings button under Browsing history via group policy

Windows XP Pro SP3, IE8 (8.0.6001.18702), within local gpedit.msc I did the below: User Config/Admin Temp/Windows Comp/IE enabled: disable changing temporary internet file settings User Config/...
gregg's user avatar
  • 639
1 vote
1 answer
60 views

Find and group all unique versions of a file

I have a convoluted directory structure where there are many copies of foo.txt. I'd like to find all copies of this file and group them by their diff result, i.e. [type 1] /bar2/sub1/foo.txt /foobar/...
Hooked's user avatar
  • 113
-2 votes
2 answers
207 views

How can I get information about a file or folder on a Linux system?

I need to get detailed information of certain file or folder, such as chmod, changed date, which user. How can I do this?
Kad's user avatar
  • 107
1 vote
2 answers
95 views

How to get information of last created files on server

I want to get list of created files and folders after certain date in whole server, is it possible and how can i do?
Kad's user avatar
  • 107
0 votes
1 answer
1k views

SSH: connect with public key avoiding passphrase prompt

root@myhost:/# ssh -i /opt/id_rsa.pub [email protected] Enter passphrase for key '/opt/id_rsa.pub': [email protected]'s password: I have created key pair without passphrase, ...
Somebody's user avatar
  • 364
22 votes
4 answers
21k views

Rsync show progress for individual file

I'm using rsync to upload/download a pretty large file (20Gb). I'm aware of --progress option, but what it does in my case is just showing me the result at the end. My problem is that during some ...
Salmon's user avatar
  • 321
7 votes
1 answer
37k views

IIS7 - how to configure server to serve large (GBs) files?

I wanted to download some backups (about 4..5Gb in size) via HTTP and was surprised that IIS7 didn't allowed me to do so. The attempt was seemingly blocked - got a 404 page. Where should I go in the ...
kagali-san's user avatar
  • 2,021
2 votes
2 answers
18k views

Linux Shell - How to copy directory without symlink

I would like to get everything inside one directory. How can I copy entire directory (that originally contains files and symlinks) to a new directory that should contains all files but no symlink?? ...
Julio Fong's user avatar
1 vote
3 answers
2k views

Bad WAN Transfer Speed (Windows Server 2008 R2)

We have two servers in different data centers which are geographically separated by several hundred miles. The RTT (round trip time) for a ping between them is 61ms over our VPN. Both servers are on a ...
AX1's user avatar
  • 1,289
2 votes
4 answers
751 views

How to quickly remove hundreds of thousands of files? [duplicate]

Possible Duplicate: Doing an rm -rf on a massive directory tree takes hours I'm running a simulation program on a computing cluster (Scientific Linux) that generates hundreds of thousands of ...
Nick's user avatar
  • 143
2 votes
1 answer
434 views

finding files that match a precise size: a multiple of 4096 bytes [duplicate]

I have several drupal sites running on my local machine with WAMP installed (apache 2.2.17, php 5.3.4, and mysql 5.1.53). Whenever I try to visit the administrative page, the php process seems to die....
doub1ejack's user avatar
1 vote
3 answers
12k views

Windows Server 2008 R2 Finding Hidden files that are causing drive to fill up

What is the best way to find out what files are sucking up so much space? My Windows directory lists its size as 15 GB but when I run a powershell script against it, it shows 40 GB. It seems 40 GB ...
Xaxum's user avatar
  • 317
1 vote
1 answer
577 views

File movement monitoring and alerts

We have applications that integrates to other applications through files exchanging. We needed to be able to be notified on the following situations: Files are accumulating on a certain folder, ...
Jonathas Carrijo's user avatar
1 vote
0 answers
267 views

Secure file downloads on IIS 8 (mod_auth_token or similar)

I'm trying to set up secure file downloads (for example, where a temporary link can be generated to download a file instead of using obscure URLs, which can be insecure). Something like mod_auth_token ...
jstm88's user avatar
  • 757

1
4 5
6
7 8
14