move_files_to_fake_tape.py¶
Move files in the test system from the "archive" on a Partition to another area of disc that emulates a tape system - fake tape!
-
nla_control.scripts.move_files_to_fake_tape.
move_files_to_fake_tape
(tapefiles)¶ For each file do the following:
Move the file to the faketape directory
Create symbolic link between the file in the faketape directory and the original file location
Note that
tidy_requests.py
will set the status of these files to ONTAPE.- Parameters
tapefiles (QuerySet[TapeFile]) -- QuerySet of TapeFiles that are in the test NLA system, with stage == ONDISK which will be moved to fake tape.
-
nla_control.scripts.move_files_to_fake_tape.
run
()¶ Entry point for the Django runscript. Move files to fake tape area of disk.