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

using linux system calls and file & folder management in c++

I'm writing a c++ program, here is the task: I have a string proj_Name and another string address, and I have a folder named root beside my program. Now I have to make a folder named proj_name in the root folder and copy everything from address to…
Homie
  • 79
  • 1
  • 2
  • 7
0
votes
1 answer

PathCombine function not working correctly

I'm having some difficulties with the PathCombine function. It does not seem to work correctly in conjunction with SHFileOperation(). My code is as follows: //beginning of method TCHAR* root = new TCHAR[MAX_PATH]; root =…
JHowzer
  • 3,684
  • 4
  • 30
  • 36
0
votes
2 answers

Selecting rows where column value is the same

I have a table, called 'files', where I store file_id's. Basically, users on my website can upload files to my website, and when a user uploads a file, all that file's info gets uploaded to my table. Anyways, I'm working on a file manager where the…
Hugo Cornellier
  • 161
  • 2
  • 7
  • 16
-1
votes
1 answer

Saving and loading presets in iOS app

I have a synth iOS app in development. I have a lot of interactive objects there, like knobs, sliders, buttons and so on. I want to let user save and load his presets and be able to share them with iTunes. So I think I must write all parameters to…
-1
votes
0 answers

Version and dependency management tool needed for both code based apps and dependent other file types

I have the following problem: I am using code (C#, Python, ...) to create applications. These applications have a version for sure. Additionally, I have configuration files (mainly JSON), that have a version too (part of the JSON is something like:…
-1
votes
1 answer

Telegram bot cannot detect any file that i upload

So i use AI to write me a telegram bot in python, it run but no function. I try to make a file manager that the bot can know what file i uploaded and do something similar like google drive stuff. when i use /upload, any file that i upload should be…
-1
votes
1 answer

What are the prerequisite subjects related to program installers?

I never needed to add an installer to my programs but I always wondered about Microsoft Installer (.msi or .exe installers). What tasks do they do? They make the life easier for the user, but that's not all to it. I know they also deal with the…
-1
votes
1 answer

Powershell - Move Images in Subdirectories + Maintain Directory Structure

I want to move all images in a directory, including subdirectories, to a new location while maintaining the existing folder structure. Following the example, here, I put the objects into a variable, like so: $picMetadata = Get-FileMetaData -folder…
-1
votes
2 answers

Why is "test -e" not working as it should in my bash script?

I'm writing a short bash script to find if a file exists in a directory or not. Here is the script: #!/bin/bash > oldFiles.txt files=$(grep ' jane ' ../data/list.txt | cut -d ' ' -f 3) for f in $files; do f=~$f if [ -e $f ]; then echo $f…
jlehenbauer
  • 599
  • 2
  • 11
  • 33
-1
votes
1 answer

Folder Browser Replacement

I want to be able to add multiple download links and for them to go into a single folder which is selected by the user in a Folder Browser Dialog The code you see below works great except only for a single file. I have tried changing all…
Joel
  • 13
  • 4
-1
votes
1 answer

Caused by: java.lang.SecurityException: Neither user 10110 nor current process has android.permission.CLEAR_APP_CACHE

private static final long CACHE_APP = Long.MAX_VALUE; private CachePackageDataObserver mClearCacheObserver; btnCache.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { clearCache(); …
Akshat Vajpayee
  • 274
  • 1
  • 3
  • 15
-1
votes
2 answers

Version control personally and simply?

Requirement make history for web text/code source files. login-worker is only me, i.e personal usage. automatically save history for each updated files(no require at once but at least once per week) It must be a simple way to start and work. I have…
Damegami
  • 37
  • 5
-1
votes
2 answers

Making a dir using uuid as a directory in python 3

import os impoer uuid wallet_filepath = os.path.join( 'PWD', str(uuid.uuid4().hex) , '.bin') print (wallet_filepath) print (os.path.exists(wallet_filepath)) print (os.stat(wallet_filepath)) This is the OUTPUT that I am getting from this…
-1
votes
1 answer

How to rearrange files with respect to a directory structure containing same files?

I am taking backup/sync files in my computer to external harddisk. for example I sorted some files in my external harddisk like this (I have around 1000 directories and 10000 files, Directory structure below given is for illustrative purpose…
-1
votes
1 answer

Delete all files except a few using bash command

I have a directory containing lot of files in different formats. I would like to know how I can delete all files with specific format (Lets say *.dat) except a few files in a same format (e.g. A.dat and B.dat). Please advise!
Soheil
  • 193
  • 4
  • 10