Questions tagged [file-management]

File Management relates to the efficient control over, usage of and access to files by users and computer operating systems

File Management topics covered by this tag include

  • Popular computer operating systems
  • Project management software and processes
  • Web server caching algoritms
  • Software development tools, such as XCode and phpCake
538 questions
3
votes
1 answer

How to access a file in a private/var folder?

I got a path that looks like this: /private/var/mobile/Containers/Shared/AppGroup/D4A4F193-4125-406F-9A85-2B301F233D7E/image0.jpg However when I check for existence (file.exists) it always returns false. The full path I try to open is the same as…
Artemix
  • 8,497
  • 14
  • 48
  • 75
3
votes
3 answers

Reading data from a file into a structure array (C)

I'm trying to build a simple function that will take in a data file, and assign various values from the data file into a global array of structures. However, I'm having trouble getting it to work quite right. I've written what I believe is most of…
MomoDevi
  • 63
  • 1
  • 6
3
votes
1 answer

Remove all files not managed by my script

I have a formula that reads in the pillar a list of items to create some config files, like this: fileA config: - some other config - ... fileB config: - other configs the problem is, in the parent folder there is a lot of temporary…
Nicos Karalis
  • 3,724
  • 4
  • 33
  • 62
3
votes
0 answers

How to find folders with large disk usage? (Win7)

My harddrive is approaching capacity and I'd like to find all the large folders on the drive to delete them manually. I searched for a way to do this and a lot of 3rd party utilities came up, but I was surprised I couldn't find a native win7 way of…
Jpaji Rajnish
  • 1,491
  • 4
  • 17
  • 35
3
votes
3 answers

Why do we need to close a file in C?

Suppose that we have opened a file using fopen() in C and we unintentionally forget to close it using fclose() then what could be the consequences of it? Also what are the solutions to it if we are not provided with the source code but only…
user2850121
3
votes
2 answers

List files and directories with Jtree and File in Java

I want to create a very very simple file manager with JTree, but I only saw a very hard code and I want to create this script very clean and simple. Can you help me? How do I List the directories of my computer in JTree?
3
votes
1 answer

KCFINDER: can upload images but cant display

after 48hours trying to get a solution i'm exausted. I use CKEDITOR integrated in my cms to let user get rich text. I integrated KCFINDER (opensource file manager) to let user upload images and insert inside his textareas. Now, on my local server…
SBO
  • 623
  • 2
  • 8
  • 22
3
votes
2 answers

Jquery Remove() not removing selected node

I'm making a simple FileManager, but I don't know what is wrong with my code, I used several times the remove() and/or detach() functions of jQuery, but this time it isn't removing the selected node from the rest of the grid. The code is the…
3
votes
2 answers

Recursively moving files to root folder

I am more used to using unix shell than CMD, and I am not really sure how to get this to work. I have a directory with several other sub-directories that contain .xml files. I would like to move all the files recursively to the root directory. I…
user2242999
  • 75
  • 2
  • 7
3
votes
3 answers

Duplicate files in Xcode manager?

I've found that I get duplicate files in the Xcode manager. They appear to point the same file in finder. My first thought is that this was created when one of my colleges was, incorrectly, fixing a conflict in the source control. I'm not sure how…
Benjamin
  • 663
  • 8
  • 23
3
votes
3 answers

How can I test if a string refers to a file or directory? with regular expressions? in python?

so I'm writting a generic backup application with os module and pickle and far I've tried the code below to see if something is a file or directory (based on its string input and not its physical contents). import os, re def test(path): prog =…
classicjonesynz
  • 4,012
  • 5
  • 38
  • 78
3
votes
2 answers

Best place to 'bundle' your application images in iPhone app

Where would be the best practice to store dozens, possibly hundreds of png images that should come bundled in an iphone app? Will there be a way to access them with UIImagePickerController or would I have to create some other method of doing that…
thedude
  • 345
  • 1
  • 3
  • 12
2
votes
2 answers

How to manage files and dirs under WSH?

Is it possible to manage files and directories (i.e. get a directory's content, create/copy/delete files, etc.) usig javascript in WSH ? I did a quick look at MSDN and I cant find an object that let me do that.
GetFree
  • 40,278
  • 18
  • 77
  • 104
2
votes
2 answers

Handle / access files on the disk

I'm using Java with JSF an Glassfish 3 container. In my web application I'm trying to implement a file(image) management system. I have a config.properties file from where I read the path where the uploaded images should be…
Ionut
  • 2,788
  • 6
  • 29
  • 46
2
votes
0 answers

When use fanotify, files from deleted directory have incorrect path

When I use fanotify for listening to file changes, when I delete a folder in the root directory, the files under this folder appear with (deleted) characters, for example: /data/service/el2/100/hmdfs/account/files/Download/test (deleted)/test DELETE…