I need script/method to add/rename "folders and files sizes" information as suffix of the file/folder names(BATCH)(auto adjusted in kb/mb/gb etc, rounded value without point in mb, gb, kb etc )
a bit like using Flexible (Rounded Up) - #429; a script/trick in renaming instead of Flexible - #428 option
FOLDER SIZE INFO = SIZE INCLUDING ALL SUBFOLDERS+FILES
Further explanation of my requirement
BEFORE (ORIGINAL)=
NEW_FOLDER
Bb.mp4
Cc__Dd.txt
AFTER(RESULT/OUTPUT)=
NEW_FOLDER_2GB {instead of NEW_FOLDER_1.678GB}
Bb_800MB.mp4 {instead of Bb_798.800MB.mp4}
Cc__Dd_0Bytes.txt
The script or method could be different for files and directry(folder) renaming.
I am unable to achieve my goal with my current batch renaming softwares. Since xyplorer is such a wonderful software, I was just hoping that this could be done within XYplorer somehow.
I need script/method to add/rename "folders and files sizes" information as suffix of the file/folder names(BATCH)
-
- Posts: 42
- Joined: 10 Aug 2024 10:12
Re: I need script/method to add/rename "folders and files sizes" information as suffix of the file/folder names(BATCH)
if
for a folder doesn't show the value you want you should try it with
Code: Select all
text formatbytes(foldersize(<curitem>, "<r>"), "FLEXR");
round()
instead...One of my scripts helped you out? Please donate via Paypal