Questions tagged [file-organization]
This tag refers to the method by which files are organized on a system.
72
questions
-1
votes
0
answers
31
views
How do I organize the different Python files within my code? [closed]
I am working on a Python project for my physics master's degree project, and I am writing quite complicated code for the first time and am wondering how to best organize it.
I am currently defining ...
0
votes
1
answer
102
views
How to change names of files from one csv column to the next
I have a list of files that I have downloaded from the internet using an R script to run through a csv that contains download links. However when my files download they are named from the end of the ...
0
votes
0
answers
35
views
Why are files not going to the right folder in my file organizer?
I am trying to FTP the files automatically to the server (specific folder). This program sorts the filetypes and moves the files to the correct folder based on certain parameters, then Plex takes care ...
0
votes
0
answers
72
views
Is there a way to collapse only files in VS Code’s explorer?
I work on a large project where large portions of the files are not in “leaf nodes”. There are many directories with subdirectories and a large number of files as well. This poor organization has made ...
0
votes
0
answers
31
views
Is there a way to read information from a spreadsheet and match and add info to music files?
In a small project my friends and I are collecting songs and song metadata such as lyrics, song writer, composer, year, etc... information to a wide collection of Libyan folksmusic. The obtained files ...
0
votes
0
answers
129
views
How does postgres organize files
I read that we have various file organizations in DBMS(googled it) like sorted file organization, sequential file organization, heap file organization, etc.
How does a DBMS know which one to use? Does ...
1
vote
1
answer
5k
views
How to import multiple csv files at once
I have 30 csv files of wind speed data on my computer- each file represents data at a different location. I have written code to calculate the statistics I need to run for each site; however, I am ...
4
votes
2
answers
655
views
How can I separate many files from one folder into separate folders based on the name of the files?
The current file organization looks like this:
Species_name1.asc
Species_name1.csv
Species_name1_Averages.csv
...
...
Species_name2.asc
Species_name2.csv
Species_name2_Averages.csv
I need to ...
0
votes
1
answer
52
views
organisable file catalog which applies changes to original files in different locations
Is there a solution for having
One unified list/catalog of all files and folders from different external harddrives, which can be used to move and rename items but later when that external drive is ...
1
vote
0
answers
393
views
Downloading images from URLs in CSV file with Python
I have the following code which should download images into designated directories from given urls in a csv file. The directories are all setup.
with open('images.csv') as csv_file:
csv_reader = ...
1
vote
3
answers
76
views
How do I move file types not a specific file in PyCharm?
I am trying to make a program to organize my downloads folder every time I download something, but if I use this code:
import shutil
shutil.move("/Users/plapl/downloads/.zip", "/Users/plapl/Desktop/...
-2
votes
2
answers
36
views
Bootstrap, jquery, ERR_FILE_NOT_FOUND [closed]
Recently I have been getting a few errors that hadnt appeared before for the files described not being found? It causes my cards to not go to their full size but works properly in the atom html ...
-1
votes
1
answer
221
views
Python: how to move through folder recursively and shutil.move() files to target folders
Beginner here. I want to be able to traverse folders and their subdirectorys and files and move all unique file extensions into a dedicated folder for that filetype. Ex .jpg -> into jpg folder. (This ...
34
votes
2
answers
22k
views
How to split an ansible role's `defaults/main.yml` file into multiple files?
In some ansible roles (e.g. roles/my-role/) I've got quite some big default variables files (defaults/main.yml). I'd like to split the main.yml into several smaller files. Is it possible to do that?
...
2
votes
1
answer
1k
views
What is a recommended folder and file structure to use when working with Timber?
I recently started learning to build webpages and custom themes with Wordpress using Timber, twig and Advanced Custom Fields and I don't really know how to organize everything. So far I've been ...
0
votes
2
answers
458
views
how to put 0s in front of single digit numbers
I am currently transferring music to an mp3 player that organizes numbers differently than, say, an ipod. I need to put 0s in front of the single digit numbers (e.g. 1 needs to be 01, 2 needs to be 02)...
0
votes
2
answers
37
views
How do I separate my code into different files and call them within the onCreate method in android
I'm creating a basic android app to learn. below i have the main activity that creates a few textViews on create. I'm trying to clean my project up by putting that large chunk of code in another file ...
1
vote
1
answer
148
views
Accessing BaseClass outside package java?
I have a series of classes in my java program as follows:
src
|
|- BaseCost
|- com.jdoe.nationalcosts
|- EntryTicketCost
|- FlightCost
|- com.jdoe.internationalcosts
|- HotelCost
I'm ...
2
votes
1
answer
4k
views
Alternative 1 of index data entry
One of the three alternatives of what to store as a data entry in an index is a data entry k* which is an actual record with search key value k. My question is, if you're going to store the actual ...
0
votes
1
answer
123
views
Why can I not remove python 2.6 and 2.7 from usr/lib/?
MacBook-Pro:lib me$ sudo rm -rf python2.6
rm: python2.6: Operation not permitted
I tried with sudo, without sudo. Not sure why the operation is not permitted.
0
votes
1
answer
73
views
Website/Files organisation for Ajax calls [closed]
I am just getting started with Ajax, and I wonder how to organize my ajax scripts and php files (which process the ajax function).
With Php it was easy, one functions library functions.php with all my ...
0
votes
1
answer
147
views
File organization - Devise Admin and Admin namespace
I'm a pretty new to ROR and i'm in trouble to organize my files.
I'm using Devise and I have two models: Admin and User. Also, I generated the Devise views for the both scopes.
Current I have a ...
-4
votes
1
answer
71
views
I Had a panic attack, I deleted import files on accident. How can I prevent this?
I don't know,
Its late at night, I'm pressing buttons mindlessly, then all of a sudden after I look up and notice that my Main Class file isn't there. I spit my coffee out like a mad llama. I spam ...
2
votes
1
answer
756
views
How to include external libraries inside ITCSS project?
I have this structure inside my main.scss:
//******** ITCSS layers :: https://www.xfive.co/blog/itcss-scalable-maintainable-css-architecture/
//** 1. Settings – used with preprocessors and contain ...
1
vote
1
answer
882
views
Multiple structures defined inside a header file - Should I move them out in separate h and cpp files [closed]
One of my previous colleagues wrote a huge header file which has around 100 odd structures with inline member function definitions. This structure file is included in most class implementations(cpp ...
0
votes
1
answer
1k
views
(Applescript) Rename and Move / Organize Files to Subfolders
Edit: I have already created the subfolders beforehand using automator.
I am a designer that is currently designing for Android. I use Sketch App to export all my assets so that they will have ...
0
votes
1
answer
71
views
Elaboration ordering file with tm package in R
I created a script for the frequency of words in test documents (000_1.txt,000_2.txt,000_11.txt) in R.
I want the file elaboration in order with numerical end (1,2,11).
The SO is Windows 7. The ...
0
votes
1
answer
203
views
File Organization for express project
I am making a node website using express. I now have a lot of files in my project and was wondering on how to organize them. The root project directory is organized like any standard express project
...
-2
votes
1
answer
572
views
What is the cost of file organizations: heap file, sorted file, unclustered hash index on a delete operation using equality condition on a key?
I am learning database right now. Knows nothing basically about SQL server. :-p
I just see this question but I don't know how to answer it.
Consider a delete operation specified using an equality ...
1
vote
1
answer
1k
views
Using three.js JSONloader to load file at specified url (Django)
I am trying to load a model in Three.js, but am having trouble. I think the issue is that the loader is unable to find the model file, but I am not sure.
The following is my file hierarchy:
Static
...
1
vote
5
answers
2k
views
How do I organize files by creation date?
How would I sort a directory into files created before and after any given time and date?
I need to make two lists, one of files before, and the other of files after, a certain date/time.
0
votes
1
answer
213
views
PHP Project Organisation and Deployment (FuelPHP)
This project is using the FuelPHP framework but the question is around organisation of files.
My file structure is as follows:
/fuel
/app
/assets
...
/public
I current have assets....
0
votes
0
answers
147
views
C++: Possibility of inline function, friend to multiple classes?
I am working on implementing an intersection test between a sphere and a triangle.
I want to design a function to do this. The function sphere_triangle_intersection_test( ... ) should be declared as ...
0
votes
2
answers
2k
views
Drag and Drop Files into Folders via Python GUI?
Problem
I'm trying to make a gui in python that displays two directories in two side-by-side panels and their contents (via tree, thumbnails, list, etc), which then allows the user to either:
drag ...
2
votes
3
answers
2k
views
Cocos2d-X Adding subfolders to Classes folder throws errors
I am working on a Cocos2D-X project. I am trying to organize my code files into sub-folders inside the Classes folder. The Classes folder is being shared for both iOS and Android. If I just leave the ...
1
vote
1
answer
1k
views
Optimizing a Directory Structure on the File System ( referenced through database )
After searching around for a while regarding the consensus over how to handle multimedia content for website (using native fileSystem or Database blobs), mainly here:
MySQL Binary Storage using BLOB ...
0
votes
4
answers
4k
views
Delete Line with special character [closed]
I have a text file like this:
hello
this is text file
* Can you Tell me what is
* Dnt Care
* List item
I want to delete all line have asterisk sign (*) so the result in file after deletion is:
...
0
votes
1
answer
421
views
Running a .bat only within sub-directory from a .bat in root directory?
I have a series of commands that moves files from folders A-E to one folder X, e.g.:
for /f "delims=" %%a in (
'dir /s /b ^| find /i "\Folder A\"'
) do move "%%a" "G:\Folder X"
for /f "delims=...
112
votes
4
answers
56k
views
Split Python Flask app into multiple files
I'm having trouble understanding how to split a flask app into multiple files.
I'm creating a web service and I want to split the api's into different files (AccountAPI.py, UploadAPI.py, ...), just ...
3
votes
3
answers
5k
views
Batch move with exceptions? Or using xcopy and deleting original after?
I have a script that extracts all files from all sub-directories and deletes the empty sub-directories afterwards, the part that extracts reads:
for /r %%a in (*.*) do move "%%a" "%~dp0"
Is there a ...
1
vote
2
answers
378
views
Bat to sort files by nth character or word into folders named "n"?
I'm trying to make a .bat to sort a large amount of files labeled "(date) (client) - (document Title).pdf" eg "12-21-11 Thompson - Case Management.pdf" into folders titled by client. So far I've ...
17
votes
2
answers
31k
views
Webapp file organization convention (development structure)
For the webapps I'm developing, I usually use the following files organization, since I think it respects the convention:
src
|-- main
|-- resources
| |-- *.properties
| |-- *.xml
...
0
votes
1
answer
628
views
I really need help organizing my websites files [closed]
Okay I am having trouble organizing all my files for my website. I can't really find an efficient way to organize the files at all.
This is how I currently organize my files..
https://i.stack.imgur....
3
votes
1
answer
6k
views
Storing Link to File in a Database
I am creating a database application that (among many other things) allows users to upload and download files. The files are stored on a file server and I have set up an Apache HTTP server with PHP ...
1
vote
1
answer
289
views
User-files organization in a Web server
I'm developing a Web application where users can upload files.
Suppose to have different file categories, e.g. audio and docs. I guess I can put all the files that belongs from a category in a unique ...
0
votes
2
answers
186
views
tools to allow C++ development, with out separate .h .cpp files [closed]
I am developing some c++ code, but having code separated in to .h and .cpp is driving me mad, as it is slowing down re-factoring.
Is there a tool that lets one work on a single file. An editor that ...
5
votes
6
answers
1k
views
PHP organize uploaded photos
I am building a PHP application that lets users upload photos. To make it manageable, a folder shall have maximum of 5000 photos. Each uploaded photo will be assigned an ID in the database, and the ...
1
vote
2
answers
2k
views
Exception classes organization in Java
I have many exception classes. F.e.: InvalidMethodParameterException, EntityNotFoundException etc. All have some code like xxx.yyy.zzz and a description literal.
The question is: is there any best ...
2
votes
1
answer
43
views
Where shall I put the assemblies related to tools I use in all my Visual Studio projects?
When I develop my web applications in Visual Studio 2010 I use tools such as GhostDoc, SandCastle, AJAX Toolkit, Moq, etc...
I usually use these tools in all my projects. When I downloaded the Moq ...
1
vote
4
answers
266
views
Directory Structure Logic
I am trying to create a folder structure like so:
Uploaded files
a
[email protected]
b
c
...all the way to z
one level ABOVE the public web directory. The only unique key (besides the user_id ...