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
4
votes
1 answer

Is there a faster way to loop through the installed applications on macOS?

I'm writing a menu bar extra that shows you a list of your installed apps and allows you to click on each button in the list to open that app. Obviously, to do this I need a list of every app the user has. The specific way I chose to do this was…
AcinonX
  • 51
  • 4
4
votes
2 answers

Moving files to appropriate location based on their extension

I have a cleanup script that moves files based on their extension to appropriate preset locations. For example, a file with the extension .xls will be moved to ~\XLS folder, .sql to ~\SQL and so on. Here is the my script. $dirtyfolder =…
Animesh
  • 4,926
  • 14
  • 68
  • 110
4
votes
2 answers

Replacing Windows Explorer With Third Party Tool

How would I go about replacing Windows Explorer with a third party tool such as TotalCommander, explorer++, etc? I would like to have one of those load instead of win explorer when I type "C:\directoryName" into the run window. Is this possible?
Ryan Lanciaux
  • 5,965
  • 2
  • 37
  • 49
4
votes
2 answers

Elegant mechanism to clean up a generator as it goes out of scope?

I am using several generators inside of a heap queue to iterate through sorted files on disk. Often times the heapq does not completely drain before going out of scope, so the underlying generators will never reach a StopIteration condition. I'd…
Rich
  • 12,068
  • 9
  • 62
  • 94
4
votes
8 answers

What is the best way to handle files for a small office?

I'm currently working at a small web development company, we mostly do campaign sites and other promotional stuff. For our first year we've been using a "server" for sharing project files, a plain windows machine with a network share. But this isn't…
grapefrukt
  • 27,016
  • 6
  • 49
  • 73
4
votes
3 answers

Splitting .cpp files without code changes

I have a .cpp that's getting rather large, and for easy management I'd like to split it into a few files. However, there are numerous globals, and I'd like to avoid the upkeep of managing a bunch of extern declarations across different files. Is…
Cannoliopsida
  • 3,044
  • 5
  • 36
  • 61
3
votes
3 answers

Delete unecessary .keep files

I noticed my git repository has a lot of .keep files. They were once useful when their parent directories were otherwise empty, but since then a lot of the directories now have real children that keep them alive in git. Is there a nice way to remove…
Alexander
  • 59,041
  • 12
  • 98
  • 151
3
votes
1 answer

No module named 'watchdog.observers'; 'watchdog' is not a package

I installed watchdog but trying to run any code doesn't work. I get that error message. Here's the code snippet. Any ideas on how to fix this?
serialnumber
  • 33
  • 1
  • 5
3
votes
1 answer

Reading Resource Text Files on iPhone

This is mainly an advice question, so any pointers are much appreciated. I have a text file that I would like to draw on when filling UITableViews. I just don't know when I should actually read the file, or even how. Do I use NSFileManager, or…
3
votes
1 answer

How to get the url for a video saved in temporary directory

I need to save a video file to a temp directory and save the reference to it URL. Currently I have tried using fileManager to create a temp directory and then createFile(atPath: tempDirString, contents: vidData, attributes: nil). But I dont/am not…
user12822558
3
votes
1 answer

Best Practices for serving dynamic files in a backend

does anyone know of best practices or common strategies in backend design for serving dynamic images and videos to client applications? Background: I'm currently building an application that allows users to upload their own images and videos. I'm…
Wecherowski
  • 818
  • 11
  • 24
3
votes
1 answer

Lock file in Xcode 4

I've got a simple question. In Xcode 3 I was able to lock a file by clicking on the little lock icon at the top of each file. I'm missing this function in Xcode 4. I think I'm just blind. Can you help me?
Sandro Meier
  • 3,071
  • 2
  • 32
  • 47
3
votes
1 answer

Efficiently moving a file

I am trying to move files from one directory to another while seeing a progress bar in my WPF application. The move operation is insanely slow, and I cant find a solution to make it go any faster (testing the speed it was 2:30 minutes to move 38…
3
votes
1 answer

Files App View Controller?

In Pages, Numbers, and Keynote 3.3 for iOS, Apple has done away with its custom file manager and instead uses the a version of the iOS 11 Files App to allow the user to choose and save files within the applications, The Files-like document picker…
Jake Chasan
  • 6,290
  • 9
  • 44
  • 90
3
votes
1 answer

how to get the filename along with absolute path to the file, whenever a new file is created using inode in linux?

I doing some experiments with my linux OS (CentOS) and I want to track all the tool logs created under the same environment, tool generates the respective logs (.log extn) for tracking these changes I wrote a perl watcher which actually monitoring…
vikas chib
  • 83
  • 8