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

learn more… | top users | synonyms

2
votes
1answer
76 views

Copying lines from multiple logfiles, based on content of the line

I have multiple log files of 10mb each. The content of the log files always look like this: 06.09.2012, 21:36:02:83: xxxxx yyyyyy zzz 06.09.2012, 21:36:02:84: xx yyy zzz 06.09.2012, 21:36:05:24: ...
1
vote
0answers
156 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 ...
1
vote
1answer
32 views

move files/directories with similar names, matching rule

We were moving about 4TB of files to a Windows Server08R2 from a Mac Sever. A lot of the filenames wouldn't go because of incompatible characters. We ran a renaming tool to fix the problem and copied ...
0
votes
2answers
2k views

arrays in puppet

I'm wondering how to solve the following puppet problem: I want to create several files based on an array of strings. The complication is that I want to create multiple directories with the files: ...
1
vote
1answer
36 views

Is there a way for tar to check for new files not in an archive?

Is there a way to for the tar command to check for new files that are not already in the archive, or those that have been deleted (for good measure)?
1
vote
1answer
54 views

How can I remotely verify that a file is encrypted?

Is there any way to remotely verify that a file is encrypted? I have a very complex problem, but here's a simplified scenario that illustrates the point: I have a server that generates very large ...
5
votes
1answer
577 views

BYOD (accessing files) on a domain without joining?

I run a Samba 4 instance at a small private school. This makes a regular Linux server appear as a directory controller. There are two relevant benefits to this: I have a Samba share for people's ...
3
votes
1answer
430 views

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 ...
2
votes
2answers
242 views

Merge folders on different drives in linux?

I would like to merge the contents of two folders with the same same, from the linux terminal. Drive 1\Folder Drive 2\Folder I want all files and sub-files in drive 1's folder to go to drive 2's ...
0
votes
2answers
571 views

Linux: don't use file system cache under a directory

For a PHP website I'm monitoring, I need to see what files are being used each time the browser makes a request. I thought of using find . -type f -amin 1. With that I get all files which were read ...
1
vote
2answers
1k views

tracking down what files are causing io activity in iostat

Using iostat -Nkx 1 I can see that I am getting regular IO on a volume group. What I'm trying to do is find a way to link that IO to a file/pipe/whatever to see what process is creating this IO and ...
0
votes
1answer
119 views

Fox Pro Database File Locked by Shadow Copy?

I'm using Process Explorer to determine what process has a lock on a particular Fox Pro Database file in windows. It's telling me that System has a lock on it. When I go to kill the "System" ...
0
votes
4answers
2k views

Find files/folders that are filling up disk space [duplicate]

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 ...
0
votes
2answers
295 views

How to access data in different userhomes from a single non-root user

I have Owncloud on my server running, and it saves uploaded files unter /home/uid/files. But Apache is running as a non-root user, and it can't access(write) the files under /home/uid/files. What is ...
0
votes
2answers
235 views

File system cache / drop cache(debian)

if i play those command : sync echo 3 > /proc/sys/vm/drop_caches Will the server be force to read the correct file on disk until i put 0 again ? Or this work only one time, and if i want to ...
1
vote
1answer
40 views

list of files NOT in use by process

How can I exclude the output of lsof -c <processname> /path/ from a list of files in /path/ for example find /path/ -type f I was thinking something like this: find ...
0
votes
1answer
86 views

How to distribute files to another server

Let's say I have 2 servers: web server (apache, php, mysql) storage server (lighttpd) - I wanna store a lot of images How can I upload images to storage server via a web interface stored on web ...
2
votes
2answers
198 views

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 ...
8
votes
1answer
2k views

Why does getfattr not display anything for a file that has the extended attribute bit set?

I've got a Nagios XI install running on CentOS 6.2, and want to modify the backup script. I noticed that the extended attribute bit is set for this shell script, so I want to be sure not to mess ...
4
votes
3answers
561 views

Why is ACL not working correctly with this setup?

I am running Arch Linux on my laptop as a development machine, and I need to grant the users group RW privileges to the folder: /srv/http and all files and folders under it. I made sure that ACL is ...
2
votes
2answers
244 views

Weird 0 byte files in root

In the root of several of our old CentOS machines (CentOS release 5.8 (Final)) In the root of the ext3 file system I see the following: I've removed some of these, but they seem to continue coming ...
0
votes
1answer
401 views

nginx php-fpm uploaded files have nginx ownership after executing move uploaded file

I have a problem with php 5.3.6 using PHP-FPM and file uploads. My Nginx runs as user nginx PHP-FPM uses pools configured for each vhost. For example a user: test group : test runs one pool. When ...
1
vote
1answer
120 views

Cygwin creates files with special (shared) icons on windows

I use cygwin to transfer files between linux and windows machines. Everytime I transfer a file to a windows machine it adds an extra shared user icon on the file's or folder's icon itself. This also ...
0
votes
1answer
53 views

How to find out what's automatically processing a file when placed in a folder

When I place a file in a particular folder, it gets deleted within a few seconds. I think there is some process that is doing something with the data in the file and then removing the file. What's ...
2
votes
1answer
3k views

How do I hide a directory of text files on IIS?

I have a directory of text files on IIS. I would like this directory to be hidden. I have set the web.config as follow: <?xml version="1.0" encoding="utf-8" ?> <configuration> ...
7
votes
4answers
2k views

How can I easily confirm in Linux that two separate directories have the exact same contents?

CentOS 5.x Mq question seemed similar to this one but I wasn't sure... I have two servers (completely isolated from each other), each with a directory and sub-directories that should have the same ...
-1
votes
2answers
332 views

How download all files, directories and subdirectoires with wget [closed]

I have some links such as: http:/foo.com/1/1/1/1.jpg http:/foo.com/1/2/2/2.jpg http:/foo.com/1/3/3/3.jpg ... How I can I download all files and directories with wget?
0
votes
2answers
141 views

Recursive deletion of files (bash)

I'm familiar with how I would tackle this with PHP, however I'd like to get some more practice with bash scripting. The task is to delete all files in a folder, which itself contains subfolders ...
1
vote
2answers
112 views

How to make a PHP file unavailable to users?

I have a file queue.php which I have set up as a cron job. I don't want users to be able to access it. How can I do this?
2
votes
1answer
93 views

Migrating Oracle DB to another operating system from Red Hat Enterprise by using a disk image

I have a Red Hat Enterprise server disk image that Oracle DB is installed on it. My question is : Is it even possible to use this disk image in order to setup same DB on another Oracle supported ...
1
vote
2answers
348 views

Why qmail queue is full of files?

Yesterday my server stopped working properly. After some digging, I found that the problem is that /dev/sda1 run out of inodes. Now I'm looking for some files to delete and I've found that at the ...
3
votes
1answer
49 views

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 ...
2
votes
2answers
3k views

Comparing owners and permissions of content of two folders?

How to to compare owners and permissions of content of two folders? Is there something like diff command which compare recursively two folders and display owner and permissions differences?
1
vote
1answer
77 views

How can I see which applications have accessed a certain file within a given time period on Linux?

Is it possible on Linux to find out which applications have accessed a certain file in the last 24 hours? I've come with a few possible solutions: Watch lsof. It works, but it's constrained to ...
3
votes
1answer
3k views

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, ...
0
votes
1answer
377 views

IIS Web Server file change monitoring tools? [closed]

We are looking for a tool to run in the background of out Server 2008 R2 IIS web-server. We want a tool that can tell us when new files re created, or changes are made to existing file to watch for ...
4
votes
1answer
839 views

how to delete a insane number of files from an unix system?

On a system with linux there are 2 folders with aprox 12gb used(out of 500gb) and all inodes are used by some s
0
votes
1answer
36 views

How to access and store data on multi-server setup

My application uses a RESTful api to receive requests from users and generate files on demand. When the file has been made, it responds back with a dl link to said file. When this was on a single ...
5
votes
5answers
7k views

Get total files size from a file containing a file list

I have a file containing a list of files that I would like to know the total files size. Is there a command to do so? My OS is a very basic linux (Qnap TS-410). EDIT: A few lines from the file: ...
20
votes
4answers
16k views

How to move files between two S3 buckets with minimum cost?

I have millions of files in a Amazon S3 bucket and I'd like to move these files to other buckets and folders with minimum cost or no cost if possible. All buckets are in the same zone. How could I ...
1
vote
1answer
60 views

Bash: checking uniqueness of filenames, and renaming or removing files

I'm working in CentOS with bash and I have files in a directory as follows: 16948.png 16948_thumb.png 16948-1_thumb.png 16949.png 16948_thumb.png 16949-1_thumb.png 16950-1.png ...
0
votes
5answers
787 views

Looking for suitable backup solution Mac OS X to offsite Centos 6 server 1TB of working data

I'll start by saying what we have in place currently: On site file server (Mac OS X Server) that is used by GFX designers and they have a working 1TB of data. Offsite server with 2TB available ...
4
votes
3answers
966 views

Is it possible to GET or PUT two specific files at a time using SFTP without wildcard?

From a directory of dozens of files, is it possible to GET or PUT two files at once using SFTP? I do not want to use a wildcard because I don't necessarily know the names of all the files and don't ...
1
vote
1answer
69 views

What are the ramifications of UNIX files and directories where owner doesn't have group rights to the file?

I've a group of users, all of which are in a single group. Then I have a Java daemon that is a member of a seperate group. I want both the users and the daemon to have access to the same set of ...
2
votes
5answers
1k views

Safe way to determine size of a file using unix tools?

I wonder, what's the best way to determine the size of a file using common unix tools. I need to determine the size of a file in bytes in a shell script. The problem is, that the shell script needs to ...
0
votes
3answers
463 views

why do files need to be world readable for Apache to server them.

why do files need to be world readable for Apache to server them? I would think that if they are owned buy the Apache user or group. And the files are readable and executable that would allow Apache ...
0
votes
1answer
168 views

rsync file list over ssh generated by remote script

for f in `ssh $SSHCRED "~/file-list.sh"` do rsync --progress --times --partial --append --rsh=ssh -r -h --remove-sent-files $SSHCRED:$f $OUTDIR done This is what I do today. I'd like to instead ...
0
votes
2answers
68 views

File management issues in Windows 7 and IIS

We have a web site that used to run on a Windows 2003 server with whatever version of IIS that had; I think IIS6. That site has been moved to a new server that's a Windows 7 server with IIS7. Since ...
2
votes
1answer
80 views

getting a list of files from secure server

i am trying to get a list of files from secure server to compare them (using diff) to the ones i modified on local version (unfortunately the company i work in is not using subversion nor git yet) i ...
-3
votes
2answers
256 views

How to sync windows server folders with a AIX server using script?

Everyday I would like to sync the files and folders in the windows server with AIX server and vice versa. Does anyone suggest me, How I can write a shell or bat script to achieve this?