Question What is best way move all subfolder from use cyberdrop-dl into root folder?

  • Hi all, there are some hacked accounts posting viruses within zip links on gofile.
    Please report these posts when you see them.
    DO NOT reply to them, this just makes it harder for us to clean up and may get your account banned by mistake.

POKI

Broke Boi
Mar 8, 2022
1,704
108
16,957
1,522
0fya082315al84db03fa9bf467e3.png
If you're using windows, just use the search in windows explorer and search for a full stop .
The results are every subfolder and file in that directory, just copy paste what you want out, i.e. all the files
 
  • peepoClap
Reactions: gfgfgfgfgfgf2453

POKI

Broke Boi
Mar 8, 2022
1,704
108
16,957
1,522
0fya082315al84db03fa9bf467e3.png
Good to hear it works in Linux too :HYPERS:
 

ausugnd

Dark Lord of the Simps
Aug 28, 2022
244
3,772
1,312
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
I found a simple .exe that works on Windows. Point it at the base folder, then it "moves them up"
Please, Log in or Register to view quotes

Any script needs to search for all items in subfolders, and then either perform a move command on everything to the base directory, or rename all files removing all subfolders from their 'long' names. Same thing, just two functions.
My Linux commands aren't that great, but I found a few posts that might help.

Please, Log in or Register to see links and images
Please, Log in or Register to see links and images
Please, Log in or Register to see links and images
Please, Log in or Register to see links and images
 

uselessj

Bathwater Drinker
Mar 12, 2022
112
5,510
1,249
0fya082315al84db03fa9bf467e3.png
Here's a python script I wrote:
Python:
Please, Log in or Register to view codes content!
Run :
python filename.py -d /path/to/directory
You can add -r argument if you want to rename all the files to some random string.
 
  • wowers
Reactions: ausugnd

johnny.barracuda

Bathwater Drinker
Sep 26, 2022
221
3,015
1,252
0fya082315al84db03fa9bf467e3.png
If you are on Linux you can run
find . -type f -exec mv {} . \;

That would find every file below the current folder you are in and move it to where you are currently located.
Then you could run find . -type d -empty -exec rm -rf {} \; to delete all empty directories.You might need to run it a few times if a lot of empty directories are nested.

To sort the files this is a bash script that I wrote and have used for years.

Bash:
Please, Log in or Register to view codes content!